mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
c1383b8012
This is showing a separate need for refactoring. We call "this.serialize( ..., callback )" but if it failed callback is never called and an event is emitter for the error. That makes it rather disconnected from each other. In this case we're lucky that all calls to serialize are similar in nature and need the same kind of error callback but other wise this would be pretty messed up. It obviously needs to be untangled and get rid of this akward eventemitter dance. This doesn't fix bug 47581, but it does fix the "Infinite loader with no error" problem as a result of it by handling the error in a more intuitive way. Bug: 47581 Change-Id: Icdf64a792c13a326f494e051be47f2946928d142 |
||
---|---|---|
.. | ||
actions | ||
ce | ||
dm | ||
init | ||
styles | ||
test | ||
ui | ||
ve.Action.js | ||
ve.ActionFactory.js | ||
ve.BranchNode.js | ||
ve.CommandRegistry.js | ||
ve.debug.js | ||
ve.Document.js | ||
ve.EventEmitter.js | ||
ve.Factory.js | ||
ve.js | ||
ve.LeafNode.js | ||
ve.NamedClassFactory.js | ||
ve.Node.js | ||
ve.Range.js | ||
ve.Registry.js | ||
ve.Surface.js | ||
ve.Trigger.js | ||
ve.TriggerRegistry.js |