mediawiki-extensions-Visual.../modules/ve
Trevor Parscal 7ea475ebcf Initial commit of data model rewrite
Ground-up rewrite of the data model. Putting this in the ve2 directory for now so we still have the old code floating around.

Main changes so far in this rewrite:
* Renamed hasChildren() to canHaveChildren()
* Added canHaveGrandchildren()
* Added a new node type TwigNode that can have children but not grandchildren (so all of its children must be LeafNodes)
* Implemented push/pop/shift/unshift as wrappers around splice()
* Renamed getElementType() to getType(). Nodes now take a string as a type, and the element stuff is gone and won't be back
* Removed clearRoot(), replaced it with setRoot( this ) where needed

Change-Id: I23f3bb1b4a2473575e5446e87fdf17af107bacf6
2012-04-19 13:54:34 -07:00
..
ce Cleanup terms used in annotation method 2012-04-12 16:37:23 -07:00
dm Initial commit of data model rewrite 2012-04-19 13:54:34 -07:00
es prevent insert for stand alone command key. 2012-03-05 17:57:54 +00:00
ui Fix up FormatDropdownTool 2012-04-12 16:21:10 -07:00
ve.BranchNode.js Add and update an offset map in DocumentNode 2012-04-13 16:46:02 -07:00
ve.EventEmitter.js
ve.js Cleanup of white space, missing semi-colons, line breaks, etc. 2012-04-02 15:28:26 -07:00
ve.LeafNode.js
ve.Node.js
ve.Position.js
ve.Range.js
ve.Surface.js Cleanup of white space, missing semi-colons, line breaks, etc. 2012-04-02 15:28:26 -07:00