mediawiki-extensions-Visual.../tests/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
..
ve.dm.BranchNode.test.js Added comments and tests for canHaveChildren 2012-04-30 11:57:45 -07:00
ve.dm.Document.test.js Added test data and fixed test suite links 2012-04-27 14:59:52 -07:00
ve.dm.DocumentFragment.test.js Fixed length calculations and added tests for node tree 2012-04-30 13:23:46 -07:00
ve.dm.example.js Fixed length calculations and added tests for node tree 2012-04-30 13:23:46 -07:00
ve.dm.LeafNode.test.js Added comments and tests for canHaveChildren 2012-04-30 11:57:45 -07:00
ve.dm.Node.test.js Fixed length calculations and added tests for node tree 2012-04-30 13:23:46 -07:00
ve.dm.Transaction.test.js Add tests for ve.dm.Transaction 2012-04-20 11:29:30 -07:00