mediawiki-extensions-Visual.../modules/ve-mw/ce/nodes
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
..
ve.ce.MWBlockImageNode.js doc: Add placeholders for unindexed methods 2013-07-31 23:00:30 +00:00
ve.ce.MWEntityNode.js The great directory split of 2013 2013-07-02 20:51:38 -07:00
ve.ce.MWHeadingNode.js The great directory split of 2013 2013-07-02 20:51:38 -07:00
ve.ce.MWImageCaptionNode.js doc: Add placeholders for unindexed methods 2013-07-31 23:00:30 +00:00
ve.ce.MWInlineImageNode.js Create MWResizeableNode mixin to control defaultSize flag 2013-07-16 23:13:40 +01:00
ve.ce.MWMathNode.js doc: Add placeholders for unindexed methods 2013-07-31 23:00:30 +00:00
ve.ce.MWPreformattedNode.js The great directory split of 2013 2013-07-02 20:51:38 -07:00
ve.ce.MWReferenceListNode.js Only skip past empty keyedNodes sets if key exists 2013-08-02 17:32:42 +01:00
ve.ce.MWReferenceNode.js doc: Add placeholders for unindexed methods 2013-07-31 23:00:30 +00:00
ve.ce.MWTransclusionNode.js Support previews and concurrent updates in ce.GeneratedContentNode 2013-08-08 11:34:50 +08:00