mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
25a6e93ef2
It's not much of an optimisation to combine these loops but separating them gives us greater flexibility. Move the building of the node tree to happen lazily when getDocumentNode is called. In the rich paste path we can now create the DM without building the node tree and remove the metadata. Change-Id: I10b4bc486ff8ff8037158aa6dfd45aac87557d42 |
||
---|---|---|
.. | ||
ce | ||
dm | ||
init | ||
ui | ||
example.png | ||
index.php | ||
ve.BranchNode.test.js | ||
ve.Document.test.js | ||
ve.LeafNode.test.js | ||
ve.Node.test.js | ||
ve.qunit.js | ||
ve.Range.test.js | ||
ve.test.js | ||
ve.test.utils.js |