mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 19:26:46 +00:00
50b7a9fc93
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 |
||
---|---|---|
.docs | ||
demos | ||
maintenance | ||
modules | ||
.csslintrc | ||
.gitignore | ||
.gitreview | ||
.jshintignore | ||
.jshintrc | ||
ApiVisualEditor.php | ||
AUTHORS.txt | ||
CODING.md | ||
Gruntfile.js | ||
LICENSE.txt | ||
package.json | ||
README.txt | ||
VisualEditor.hooks.php | ||
VisualEditor.i18n.php | ||
VisualEditor.php | ||
VisualEditorMessagesModule.php |
VisualEditor provides a visual editor for wiki pages. It is written in JavaScript and runs in a web browser. It uses the Parsoid parser to convert wikitext documents to annotated HTML which the VisualEditor is able to load, modify and emit back to Parsoid at which point it is converted back into wikitext. For more information about these projects, check out the wiki: * http://www.mediawiki.org/wiki/VisualEditor * http://www.mediawiki.org/wiki/Parsoid