mediawiki-extensions-Visual.../modules/ve
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 Merge "Refactor convert to use isolateAndUnwrap" 2013-03-13 16:37:17 +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 Context, frame, window, dialog and inspector refactor 2013-03-14 00:03:31 +00:00
styles Context, frame, window, dialog and inspector refactor 2013-03-14 00:03:31 +00:00
test Change MetaNodes to MetaItems 2013-03-14 23:35:50 -07:00
ui Context, frame, window, dialog and inspector refactor 2013-03-14 00:03:31 +00:00
ve.Action.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.ActionFactory.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.AnnotationSet.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.BranchNode.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.CommandRegistry.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.debug.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Document.js Correct name of can(Node)HaveGrandchildren functions 2013-03-13 23:25:33 +00:00
ve.EventEmitter.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Factory.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.js Added validation to ve.inheritClass 2013-02-27 18:41:59 +01:00
ve.LeafNode.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Node.js Change MetaNodes to MetaItems 2013-03-14 23:35:50 -07:00
ve.NodeFactory.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.OrderedHashSet.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Range.js Add ve.Range.prototype.isBackwards() 2013-02-22 17:33:23 -08:00
ve.Registry.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Surface.js Context, frame, window, dialog and inspector refactor 2013-03-14 00:03:31 +00:00
ve.Trigger.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.TriggerRegistry.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00