mediawiki-extensions-Visual.../modules/ve/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.AlienNode.js Support previews and concurrent updates in ce.GeneratedContentNode 2013-08-08 11:34:50 +08:00
ve.ce.BreakNode.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ce.CenterNode.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ce.DefinitionListItemNode.js Code style fix: @return -> @returns 2013-06-17 11:50:24 +01:00
ve.ce.DefinitionListNode.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ce.DivNode.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ce.DocumentNode.js Lock surface while inspectors are animating open 2013-07-09 17:16:25 -07:00
ve.ce.GeneratedContentNode.js Support previews and concurrent updates in ce.GeneratedContentNode 2013-08-08 11:34:50 +08:00
ve.ce.HeadingNode.js Code style fix: @return -> @returns 2013-06-17 11:50:24 +01:00
ve.ce.ImageNode.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ce.InternalItemNode.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ce.InternalListNode.js Don't build the CE tree and DOM for the internal list 2013-06-21 14:19:55 -07:00
ve.ce.ListItemNode.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ce.ListNode.js Straighten out variances in parent method invocation 2013-06-21 19:20:37 +00:00
ve.ce.ParagraphNode.js Support for thumb and frame images with captions. 2013-05-23 00:44:43 -07:00
ve.ce.PreformattedNode.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ce.TableCaptionNode.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ce.TableCellNode.js Code style fix: @return -> @returns 2013-06-17 11:50:24 +01:00
ve.ce.TableNode.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ce.TableRowNode.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ce.TableSectionNode.js Code style fix: @return -> @returns 2013-06-17 11:50:24 +01:00
ve.ce.TextNode.js getRenderedContents() optimizations 2013-06-22 19:37:10 -07:00