mediawiki-extensions-Visual.../modules/ve/dm
Roan Kattouw c41f96cf6b Some basic async code in the initialization
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
2013-07-01 13:02:10 -07:00
..
annotations Fix comparison of MW internal links 2013-06-27 17:43:34 +01:00
lineardata Revert "ve.dm.Transaction: Implement newFromDocumentInsertion" 2013-06-25 22:08:37 +00:00
metaitems Copy DOM elements properly, into the correct document 2013-06-18 15:40:33 -07:00
models Improve async template data loading 2013-06-29 20:51:09 -07:00
nodes Preserve the contents of secondary reference definitions 2013-06-30 02:01:04 -07:00
ve.dm.Annotation.js Only use HTML attributes when comparing annotations for serialisation 2013-06-25 17:57:08 +01:00
ve.dm.AnnotationFactory.js
ve.dm.AnnotationSet.js Only use HTML attributes when comparing annotations for serialisation 2013-06-25 17:57:08 +01:00
ve.dm.BranchNode.js Store DM nodes in InternalList 2013-06-03 22:10:07 +01:00
ve.dm.Converter.js Merge "Fix bug where whitespace in an empty node was doubled" 2013-07-01 17:15:58 +00:00
ve.dm.DataString.js Code style fixes 2013-05-06 12:36:52 +01:00
ve.dm.Document.js Merge "Invoke getClonedElement() on each element on copy" 2013-06-27 22:31:39 +00:00
ve.dm.DocumentSlice.js Invoke getClonedElement() on each element on copy 2013-06-27 14:20:53 -07:00
ve.dm.DocumentSynchronizer.js
ve.dm.IndexValueStore.js Preserve location of reference body within key 2013-06-10 02:54:26 +00:00
ve.dm.InternalList.js Some basic async code in the initialization 2013-07-01 13:02:10 -07:00
ve.dm.js
ve.dm.LeafNode.js
ve.dm.LinearData.js
ve.dm.MetaItem.js Fieldsets and default sort keys 2013-05-10 16:46:08 -07:00
ve.dm.MetaItemFactory.js Make .static.storeHtmlAttributes more versatile 2013-05-07 14:45:26 -07:00
ve.dm.MetaList.js Fix breaking getLength() call 2013-05-10 17:02:07 -07:00
ve.dm.Model.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.dm.ModelRegistry.js Straighten out variances in parent method invocation 2013-06-21 19:20:37 +00:00
ve.dm.Node.js Disable inspection of references with unknown contents 2013-06-27 20:34:32 -07:00
ve.dm.NodeFactory.js ve.ce.Document: Introduce getRelativeRange method 2013-06-05 13:10:38 +01:00
ve.dm.Surface.js Pasted content is annotated 2013-06-27 17:30:31 -07:00
ve.dm.SurfaceFragment.js Prevent overlapping link annotations 2013-06-26 16:20:51 +01:00
ve.dm.Transaction.js Revert "ve.dm.Transaction: Implement newFromDocumentInsertion" 2013-06-25 22:08:37 +00:00
ve.dm.TransactionProcessor.js Kill getOffsetFromNode() with fire 2013-05-09 17:26:22 -07:00