mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
a34ccc2f3b
De-duplicate the logic of: * Call showLoading() * Call getTarget() * Call activate() * Bind always(hideLoading) Also use then() instead of done() on getTarget() so that failures propagate to the always() handler. Previously the interface would indefinitely be in a loading state if target fails to load. Change-Id: I002322beaae64c0de96457eb56dbc68a5fc16369 |
||
---|---|---|
.. | ||
styles | ||
targets | ||
ve.init.mw.ApiResponseCache.js | ||
ve.init.mw.ImageInfoCache.js | ||
ve.init.mw.js | ||
ve.init.mw.LinkCache.js | ||
ve.init.mw.Platform.js | ||
ve.init.mw.Target.js | ||
ve.init.mw.TargetEvents.js | ||
ve.init.mw.trackSubscriber.js |