Events needs to be delegated, .once calls needs to be fixed. Parameters in events callbacks properly defined, for instead of a for-in proper definition of all closure parameters. Needs to check the dependencies of the script on the PHP side as well.

Comments

nod_’s picture

Issue tags: +JavaScript clean-up

tag fail

dawehner’s picture

Base.js is already cleaned up quite a lot (just removing code) on this issue: #1843224: Convert Views Ajax commands to new Ajax API so if someone works on that one, it would be better to wait.

nod_’s picture

Status: Active » Postponed
nod_’s picture

Issue summary: View changes
Status: Postponed » Active
nicobot’s picture

Status: Active » Closed (won't fix)

As commented on IRC, the code was cleaned up in other patches.