Page MenuHomePhabricator

Don't bind events to $( window ) object
Closed, ResolvedPublic


Author: jgonera

Currently we bind all our application events to the $( window ) object. Instead, we should create a wrapper around the jQuery events mechanism and bind events to a separate JavaScript object as described in the following blog posts:

This will allow us to drop the "mw-mf-" prefix from event names as there will be no possibility of other external JavaScript code binding events to the same object.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:25 AM
bzimport set Reference to bz44128.