mediawiki-extensions-Visual.../modules/ve2/dm/nodes
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.AlienNode.js Fixed length calculations and added tests for node tree 2012-04-30 13:23:46 -07:00
ve.dm.DocumentNode.js Fixed length calculations and added tests for node tree 2012-04-30 13:23:46 -07:00
ve.dm.HeadingNode.js Added more nodes and removed canHave[Grandc|C]hildren methods 2012-04-20 16:34:47 -07:00
ve.dm.ImageNode.js Fixed length calculations and added tests for node tree 2012-04-30 13:23:46 -07:00
ve.dm.ListItemNode.js Added more nodes and removed canHave[Grandc|C]hildren methods 2012-04-20 16:34:47 -07:00
ve.dm.ListNode.js Added more nodes and removed canHave[Grandc|C]hildren methods 2012-04-20 16:34:47 -07:00
ve.dm.ParagraphNode.js Added more nodes and removed canHave[Grandc|C]hildren methods 2012-04-20 16:34:47 -07:00
ve.dm.PreformattedNode.js Added more nodes and removed canHave[Grandc|C]hildren methods 2012-04-20 16:34:47 -07:00
ve.dm.TableCellNode.js Added more nodes and removed canHave[Grandc|C]hildren methods 2012-04-20 16:34:47 -07:00
ve.dm.TableNode.js Added more nodes and removed canHave[Grandc|C]hildren methods 2012-04-20 16:34:47 -07:00
ve.dm.TableRowNode.js Added more nodes and removed canHave[Grandc|C]hildren methods 2012-04-20 16:34:47 -07:00
ve.dm.TextNode.js Fixed length calculations and added tests for node tree 2012-04-30 13:23:46 -07:00