mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 17:36:35 +00:00
c41f96cf6b
Break setUpSurface into a bunch of parts that setTimeout() each other. This breaks the initialization of the editor as a whole up into the following phases: 0) Receive AJAX response, parse HTML 1) Build linear model data 2) Build DM tree 3) Build CE tree, CE DOM, create surface 4) Initialize surface, some UI initialization 5) Launch sanity check, remaining setup, unlock editor This is a bit hacky right now, we'll probably want to refactor later. ve.dm.InternalList.js: * Allow construction without a dm.Document ve.ui.Surface.js: * Allow construction based on a dm.Document Change-Id: Ibf48a7e85cd7376c8f6205ed165ff57e71e34c35 |
||
---|---|---|
.. | ||
annotations | ||
lineardata | ||
metaitems | ||
models | ||
nodes | ||
ve.dm.Annotation.js | ||
ve.dm.AnnotationFactory.js | ||
ve.dm.AnnotationSet.js | ||
ve.dm.BranchNode.js | ||
ve.dm.Converter.js | ||
ve.dm.DataString.js | ||
ve.dm.Document.js | ||
ve.dm.DocumentSlice.js | ||
ve.dm.DocumentSynchronizer.js | ||
ve.dm.IndexValueStore.js | ||
ve.dm.InternalList.js | ||
ve.dm.js | ||
ve.dm.LeafNode.js | ||
ve.dm.LinearData.js | ||
ve.dm.MetaItem.js | ||
ve.dm.MetaItemFactory.js | ||
ve.dm.MetaList.js | ||
ve.dm.Model.js | ||
ve.dm.ModelRegistry.js | ||
ve.dm.Node.js | ||
ve.dm.NodeFactory.js | ||
ve.dm.Surface.js | ||
ve.dm.SurfaceFragment.js | ||
ve.dm.Transaction.js | ||
ve.dm.TransactionProcessor.js |