mediawiki-extensions-Visual.../modules/ve-mw/init
Timo Tijhof a34ccc2f3b mw.ViewPageTarget.init: Reduce duplication around getTarget() calls
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
2015-02-22 15:30:25 +00:00
..
styles Remove the sanity check 2015-02-17 17:14:34 -08:00
targets mw.ViewPageTarget.init: Reduce duplication around getTarget() calls 2015-02-22 15:30:25 +00:00
ve.init.mw.ApiResponseCache.js build: Bump devDependencies to latest 2015-02-02 14:30:39 -08:00
ve.init.mw.ImageInfoCache.js build: Bump devDependencies to latest 2015-02-02 14:30:39 -08:00
ve.init.mw.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.init.mw.LinkCache.js Make API module's LinkCache data transmission format more efficient 2015-02-03 11:30:40 -08:00
ve.init.mw.Platform.js Combine imageinfo requests 2015-01-30 17:20:04 -08:00
ve.init.mw.Target.js Update VE core submodule to master (7d2a68e) 2015-02-18 15:35:46 -08:00
ve.init.mw.TargetEvents.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.init.mw.trackSubscriber.js Don't try to route any events into schema.Edit if it's not actually installed 2015-02-21 02:41:33 +00:00