#4973 - JavaScript globals elimination

Identifier #4973
Issue type Feature request or suggestion
Title JavaScript globals elimination
Status Open
Tags

Roadmap: Over the horizon (custom)

Type: JavaScript (custom)

Handling member Deleted
Addon core
Description While our JS has been overhauled for v11, there are still a lot of global variables that exist from the old code.

See what we can make class properties from...

activitiesFeedGrow
activitiesFeedMax
activitiesMemberIds
activitiesMode
ajaxScreenDetectInterval
allConversations
allMenus
alreadyAutonomous
alreadyReceivedContactAlert
alreadyReceivedRoomInvites
analyticEventCategory
ANS_customer_id
arrVal
attachmentTemplate
attributesFull
boolVal
ccTimer
chatCheck
columnColor
commandr
commandrFoxyTextnodes
commentsHash
commentsSerializedOptions
countdown
crazyCriters
crazyTick
currentCommand
currentMouseX
currentMouseY
currentSelection
dataMap
detectIfChatWindowClosedChecker
doInputAttachment
doInputB
doInputBlock
doInputBox
doInputCode
doInputComcode
doInputEmail
doInputFont
doInputHide
doInputHtml
doInputI
doInputInvite
doInputList
doInputMenu
doInputNewRoom
doInputPage
doInputPrivateMessage
doInputQuote
doInputThumb
doInputUrl
doneCleanupTemplateMarkers
doneOneError
formPreviewUrl
hasJsState
imAreaTemplate
imParticipantTemplate
instantGo
intVal
isDoingADrag
isShutdown
jumperParts
jumperPos
jumperTick
lang_NO_IMAGE_PASTE_SAFARI
lang_PREFER_CMS_ATTACHMENTS
lang_SPELLCHECKER_DISABLED
lang_SPELLCHECKER_ENABLED
lang_SPELLCHECKER_LABEL
lang_SPELLCHECKER_TOGGLE
lastAutosave
lastEventId
lastMessageId
lastReplyTo
lastTimestamp
latestActivity
loadFromRoomId
lobbyLink
LOGS_DOWNLOAD_INTERVAL
mainFormVerySimple
maxAttachments
maxNotificationsToShow
messageChecking
MESSAGE_CHECK_INTERVAL
mobileVersionForPreview
myValue
noImHtml
NOTIFICATION_POLL_FREQUENCY
notificationsAlreadyPresented
notificationsTimeBarrier
notify
numAttachments
numVal
objVal
oldStatus
oldStatusImg
openedPopups
participants
permissionCopying
permServerid
preparedChatSounds
previousCommands
rebuildAttachmentButtonForNext
sAjaxUpdateLocking
separatePreview
shockerParts
shockerPos
sitemap
sortable_table
status
strVal
templateEditorActiveGuid
templateEditorLivePreviewUrl
templateEditorOpenFiles
templateEditorTheme
textColour
tickerTick
tickPos
tinycolor
topWindow
TRANSITORY_ALERT_TIME
usergroupTitles
windowHeight
windowName
windowOptions
wysiwygEditors
wysiwygOriginalComcode
wysiwygReadonlyTimer
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated