mediawiki-extensions-Visual.../modules/ve-mw/init/targets
Timo Tijhof 50b7a9fc93 mw.ViewPageTarget: Explicitly release our copy of linmod data
Follows-up Ic0c6d190c9b78 which introduced a full linmod copy in a
scope that is also accessible by other closures (namely the
callbacks to jQuery.Deferred #done and #always, and setTimeout).

Though in theory engines may be able to garbage collect it,
I doubt it. Though browsers probably destruct the setTimeout
callback I know  at least the closures pass to jQuery.Deferred
are not released by jQuery, so an engine would have to
understand these other functions well enough to know it doesn't
access the `data` variable.

Let's release explicitly to be safe.

Change-Id: I11000edcad4690dcce53b6e9d1a45bf2ab82fbcb
2013-07-10 01:02:10 +00:00
..
ve.init.mw.ViewPageTarget.init.js mw.ViewPageTarget.init: Clarify reason for FF12 / FF14 blacklist 2013-07-09 13:11:15 +02:00
ve.init.mw.ViewPageTarget.js mw.ViewPageTarget: Explicitly release our copy of linmod data 2013-07-10 01:02:10 +00:00