mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
de6f4a4254
ve.ce.Surface * Used getModel() as per TODO * Simplified code by pre-calculating 2 statements that were being used 4 times each * Re-structured logic so that simple insertion and deletion are only possible if next and previous have a range, triggering complex change otherwise * Added some documentation ve.ce.SurfaceObserver * Added checks for whether rangy found a branch node within the document or not before accessing it's node via .data() and made it so we are only performing DOM > document range conversion if we did * Removed some commented out code Change-Id: Iaaf30a5b201710ab4235e775f18808a8d512f1f9 |
||
---|---|---|
.. | ||
nodes | ||
styles | ||
ve.ce.BranchNode.js | ||
ve.ce.ContentBranchNode.js | ||
ve.ce.Document.js | ||
ve.ce.js | ||
ve.ce.LeafNode.js | ||
ve.ce.Node.js | ||
ve.ce.NodeFactory.js | ||
ve.ce.Surface.js | ||
ve.ce.SurfaceObserver.js |