mediawiki-extensions-Visual.../modules/ve/ce
Roan Kattouw 7673a39878 Support previews and concurrent updates in ce.GeneratedContentNode
GeneratedContentNode didn't track concurrent updates at all, so a
race condition was possible: if the node was updated a second time
before the first update had been rendered, the second update might
render first and then be overwritten by the other one.

To prevent this, we track the promise associated with the current
render. If a new update is launched while a previous one is still
pending we attempt to abort the old one by calling .abort() on it,
and ignore any future resolution or rejection from it.

Also allow rerenders based on non-model data by calling
.update( { config object } );

Change-Id: I8feefd9e8fb6c41d06b8b20131e3be5e37954e83
2013-08-08 11:34:50 +08:00
..
annotations Language Inspector UI 2013-07-29 00:38:59 -04:00
nodes Support previews and concurrent updates in ce.GeneratedContentNode 2013-08-08 11:34:50 +08:00
styles Language Inspector: CE / DM 2013-07-10 12:11:27 -07:00
ve.ce.Annotation.js Continue links 2013-07-16 00:29:55 +00:00
ve.ce.AnnotationFactory.js Continue links 2013-07-16 00:29:55 +00:00
ve.ce.BranchNode.js Don't put slugs after internal nodes. 2013-06-24 15:20:08 -07:00
ve.ce.ContentBranchNode.js ce: Don't set backgroundColor transparent for every node in debug mode 2013-07-27 04:05:07 +00:00
ve.ce.Document.js Use DOM methods rather than jQuery in setupSlugs() 2013-06-23 02:39:56 +00:00
ve.ce.DomRange.js doc: @return -> @returns 2013-08-01 02:10:23 +02:00
ve.ce.FocusableNode.js Fix focusable highlights 2013-07-03 13:49:11 -07:00
ve.ce.js Code style fix: (X) -> ( X ) 2013-06-24 18:51:59 +01:00
ve.ce.LeafNode.js doc: Add placeholders for unindexed methods 2013-07-31 23:00:30 +00:00
ve.ce.Node.js Reference insertion, new and existing 2013-06-27 18:11:31 -07:00
ve.ce.NodeFactory.js Rename ve.NodeFactory to ve.NamedClassFactory 2013-04-09 12:05:05 -07:00
ve.ce.ProtectedNode.js ce.ProtectedNode: Use surface initialize event instead of toolbarPosition 2013-07-31 21:57:54 +00:00
ve.ce.RelocatableNode.js Make local overlays local to surface and remove insane z-indexes 2013-07-02 19:35:43 +00:00
ve.ce.ResizableNode.js Create MWResizeableNode mixin to control defaultSize flag 2013-07-16 23:13:40 +01:00
ve.ce.Surface.js Merge "ve.ce.Surface: Prevent focus loss on the document node in Opera" 2013-07-29 17:17:47 +00:00
ve.ce.SurfaceObserver.js Merge "Store multi byte characters as one element" 2013-05-25 09:00:49 +00:00
ve.ce.View.js Remove resize handles on surface teardown 2013-05-24 22:19:18 +02:00