From d7905627fdc3b210a4f42d2ba23a337d0ca2bc5c Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Mon, 27 Jul 2015 19:46:00 -0700 Subject: [PATCH] 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" . "" ), ); -- 2.20.1