mediawiki-extensions-Visual.../modules/ve2/dm
Trevor Parscal 8ce7fd0c85 Fixed length calculations and added tests for node tree
Image nodes are leafs, so providing an empty array to their children/length "contents" constructor argument ends up setting the numeric length to [], which casts to an empty string in arithmetic, causing all further calculations to be concatenations instead of additions.

Change-Id: I40e1ea2295f6095318bc4c24185cadfdfb684557
2012-04-30 13:23:46 -07:00
..
nodes Fixed length calculations and added tests for node tree 2012-04-30 13:23:46 -07:00
ve.dm.BranchNode.js Fixed length calculations and added tests for node tree 2012-04-30 13:23:46 -07:00
ve.dm.Document.js Added getOuterLength override to ve.dm.BranchNode 2012-04-30 12:38:15 -07:00
ve.dm.DocumentFragment.js Renamed rootNode to documentNode and added tests 2012-04-30 11:37:48 -07:00
ve.dm.js Added more nodes and removed canHave[Grandc|C]hildren methods 2012-04-20 16:34:47 -07:00
ve.dm.LeafNode.js Improved test coverage for ve.dm.BranchNode.splice and ve.dm.TwigNode.splice 2012-04-19 17:45:58 -07:00
ve.dm.Node.js Fixed length calculations and added tests for node tree 2012-04-30 13:23:46 -07:00
ve.dm.Transaction.js Add a note that I need to implement insert and remove as replace 2012-04-23 11:46:30 -07:00
ve.dm.TransactionProcessor.js Mostly-finished TransactionProcessor 2012-04-30 11:26:22 -07:00