mediawiki-extensions-Visual.../.docs/categories.json
Trevor Parscal a56e795f58 ve.Editor
Objectives:

* Split ve.Surface into ve.Editor and ve.ui.Surface
* Move actions, triggers and commands to ve.ui
* Move toolbar wrapping, floating, shadow and actions functionality to configurable options of ve.ui.Toolbar
* Make ve.ce.Surface and ve.ui.Surface inherit ve.Element and use this.$$ for iframe friendliness
* Make the toolbar separately initialized so it's possible to have a surface without one, as well as control where the toolbar is

Some change notes:

VisualEditor.php
* Added standalone module for mediawiki integrated unit testing

ve.ce.Surface.js
* Remove requirement to pass in an attached container to construct object
* Inherit ve.Element and use this.$$ instead of $
* Make getSelectionRect iframe friendly
* Move most of the initialize stuff to a new initialize method to be called after the surface is attached to the DOM

ve.init.mw.ViewPageTarget.js
* Merge toolbar functions into setup/teardown methods
* Add toolbar manually (since it's not added by the surface anymore)

ve.init.sa.Target.js
* Update new init procedure for editor, surface and toolbar separately
* Move toolbar floating stuff to ve.Toolbar

Change-Id: If91a9d6e76a8be8d1b5a2566394765a37d29a8a7
2013-05-15 10:39:12 -07:00

197 lines
3.5 KiB
JSON

[
{
"name": "ContentEditable",
"groups": [
{
"name": "General",
"classes": [
"ve.ce",
"ve.ce.View",
"ve.ce.AnnotationFactory",
"ve.ce.NodeFactory",
"ve.ce.Surface",
"ve.ce.SurfaceObserver",
"ve.ce.DomRange"
]
},
{
"name": "Annotations",
"classes": ["ve.ce.*Annotation"]
},
{
"name": "Nodes",
"classes": ["ve.ce.Document", "ve.ce.*Node"]
}
]
},
{
"name": "DataModel",
"groups": [
{
"name": "General",
"classes": [
"ve.dm",
"ve.dm.Model",
"ve.dm.AnnotationFactory",
"ve.dm.MetaItemFactory",
"ve.dm.ModelRegistry",
"ve.dm.Converter",
"ve.dm.DataString",
"ve.dm.DocumentSlice",
"ve.dm.DocumentSynchronizer",
"ve.dm.IndexValueStore",
"ve.dm.NodeFactory",
"ve.dm.Surface",
"ve.dm.SurfaceFragment",
"ve.dm.Transaction",
"ve.dm.TransactionProcessor",
"ve.dm.TransactionProcessor.processors"
]
},
{
"name": "Annotations",
"classes": ["ve.dm.*Annotation", "ve.dm.AnnotationSet"]
},
{
"name": "Meta items",
"classes": ["ve.dm.*MetaItem", "ve.dm.MetaList"]
},
{
"name": "Internal list",
"classes": ["ve.dm.InternalList"]
},
{
"name": "Nodes",
"classes": ["ve.dm.Document", "ve.dm.*Node"]
},
{
"name": "Linear data",
"classes": ["ve.dm.*LinearData"]
}
]
},
{
"name": "Initialization",
"groups": [
{
"name": "General",
"classes": ["ve.init", "ve.init.Platform", "ve.init.Target"]
},
{
"name": "MediaWiki integration",
"classes": ["ve.init.mw*"]
},
{
"name": "Stand-alone",
"classes": ["ve.init.sa*"]
}
]
},
{
"name": "User Interface",
"groups": [
{
"name": "General",
"classes": [
"ve.ui",
"ve.ui.Surface",
"ve.ui.Context",
"ve.ui.Frame",
"ve.ui.Toolbar",
"ve.ui.Window",
"ve.ui.WindowSet",
"ve.ui.Action",
"ve.ui.Trigger"
]
},
{
"name": "Actions",
"classes": ["ve.ui.*Action"]
},
{
"name": "Factories",
"classes": ["ve.ui.*Factory"]
},
{
"name": "Registries",
"classes": ["ve.ui.*Registry"]
},
{
"name": "Tools",
"classes": ["ve.ui.*Tool"]
},
{
"name": "Inspectors",
"classes": ["ve.ui.*Inspector"]
},
{
"name": "Elements",
"classes": ["ve.ui.*Element"]
},
{
"name": "Widgets",
"classes": ["ve.ui.*Widget"]
},
{
"name": "Layouts",
"classes": ["ve.ui.*Layout"]
},
{
"name": "Dialogs",
"classes": ["ve.ui.*Dialog"]
}
]
},
{
"name": "General",
"groups": [
{
"name": "General",
"classes": ["ve.Editor"]
},
{
"name": "Utilities",
"classes": ["ve", "ve.EventEmitter", "ve.Registry", "ve.Factory", "ve.Range", "ve.Element"]
},
{
"name": "Factories",
"classes": ["ve.NamedClassFactory"]
},
{
"name": "Nodes",
"classes": ["ve.Node", "ve.BranchNode", "ve.LeafNode", "ve.Document"]
},
{
"name": "Test",
"classes": ["ve.QUnit", "ve.QUnit.assert"]
}
]
},
{
"name": "UnicodeJS",
"groups": [
{
"name": "UnicodeJS",
"classes": [
"unicodeJS.TextString", "unicodeJS.wordbreak"
]
}
]
},
{
"name": "Upstream",
"groups": [
{
"name": "jQuery",
"classes": ["jQuery", "jQuery.Event", "jQuery.Promise", "jQuery.Deferred", "jQuery.jqXHR", "QUnit"]
},
{
"name": "JavaScript",
"classes": [
"Array", "Boolean", "Date", "Function", "Number", "Object", "RegExp", "String"
]
}
]
}
]