From: Timo Tijhof Date: Tue, 28 Jul 2015 02:46:00 +0000 (-0700) Subject: resourceloader: Async all the way X-Git-Tag: 1.31.0-rc.0~10527^2 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=d7905627fd;p=lhc%2Fweb%2Fwiklou.git resourceloader: Async all the way Page startup: * Due to the startup module and top queue being asynchronous now, move client-nojs/client-js class handling to OutputPage to ensure there is no flashes of wrongly styled or unstyled content. To preserve compatibility for unsupported browsers, undo the class swap at runtime after the isCompatible() check. ResourceLoader startup module: * Load the startup module with " ), array( // Don't condition wrap raw modules (like the startup module) array( 'test.raw', ResourceLoaderModule::TYPE_SCRIPTS ), - '' + '' ), // Load module styles only // This also tests the order the modules are put into the url @@ -188,10 +186,10 @@ class OutputPageTest extends MediaWikiTestCase { array( array( array( 'test.group.foo', 'test.group.bar' ), ResourceLoaderModule::TYPE_COMBINED ), "\n" . "" ), );