mediawiki-extensions-Visual.../modules/ve2
Catrope 17f4dc220a Don't use data.length in selectNodes()
I was using data.length to check if the range was out of bounds, but
this is a problem when using selectNodes() inside of tree sync code
(which happens when performing rebuilds). While tree sync is in
progress, the model tree and the linear model don't match, so we
shouldn't be looking at the linear model for information about the model
tree. Instead, get the length of the DocumentNode and use that.
`

Change-Id: I11a378544ce1281a89cdcd4363c5cb1bf56f3434
2012-05-08 18:31:51 -07:00
..
ce Added canHaveChildren and canHaveGrandchildren to all nodes 2012-05-04 17:50:54 -07:00
dm Don't use data.length in selectNodes() 2012-05-08 18:31:51 -07:00
ve.BranchNode.js Added basic ve.ce nodes 2012-04-30 16:58:41 -07:00
ve.EventEmitter.js Add ve2 directory for rewriting code in 2012-04-16 19:38:13 -07:00
ve.js Removing unused code 2012-05-02 17:05:22 -07:00
ve.LeafNode.js Added basic ve.ce nodes 2012-04-30 16:58:41 -07:00
ve.Node.js Added basic ve.ce nodes 2012-04-30 16:58:41 -07:00
ve.NodeFactory.js Refactored dom wrapper functionality in ce nodes 2012-05-04 13:31:14 -07:00
ve.Position.js Add ve2 directory for rewriting code in 2012-04-16 19:38:13 -07:00
ve.Range.js Add ve2 directory for rewriting code in 2012-04-16 19:38:13 -07:00
ve.Surface.js Add two more cats to demo/example article 2012-05-07 14:30:05 -07:00