mediawiki-extensions-Visual.../modules/ve/test
Catrope a835c03bc1 Change MetaNodes to MetaItems
Rather than meta-things being special kinds of nodes, they are now a
separate class of things (MetaItems) along with Nodes and Annotations.

* Created a generic ve.dm.MetaItem that meta items inherit from.
  There will be actual instances of this class as well in the upcoming
  meta group code.
* Renamed MetaNode to AlienMetaItem, MWMetaNode to MWMetaItem,
  'metaBlock'/'metaInline' to 'alienMeta'
* Created a MetaItemFactory, handle meta items in the ModelRegistry
* Kill ve.dm.Node.static.isMeta, now obsolete

ve.dm.Converter:
* Pass in the MetaItemFactory
* Look up data element types in the ModelRegistry rather than the
  NodeFactory, because they can be either nodes or meta items
* Document createDataElement() and make explicit that modelClass can be
  either a node or a meta item
* Handle meta items in getDataFromDom()
* In getDomFromData(), check the MetaItemFactory as well as the NodeFactory

Change-Id: I893709c6f3aa00f85c1b905b70f9f4e597bdeada
2013-03-14 23:35:50 -07:00
..
actions Fix Surface constructor in IndentationAction tests 2013-03-13 23:55:25 +00:00
ce Correct name of can(Node)HaveGrandchildren functions 2013-03-13 23:25:33 +00:00
dm Change MetaNodes to MetaItems 2013-03-14 23:35:50 -07:00
init Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
image.png Losslessly compress png images 2012-08-18 23:12:44 +01:00
index.php Change MetaNodes to MetaItems 2013-03-14 23:35:50 -07:00
ve.BranchNode.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Document.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.example.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Factory.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.LeafNode.test.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.Node.test.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.qunit.js Added tests and fixed inconsistencies for empty text node handling 2013-01-29 15:13:17 -08:00
ve.Range.test.js Add ve.Range.prototype.isBackwards() 2013-02-22 17:33:23 -08:00
ve.test.js Added validation to ve.inheritClass 2013-02-27 18:41:59 +01:00
ve.Trigger.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00