Remove comment saying code should add RL dependencies directly
authorMatthew Flaschen <mflaschen@wikimedia.org>
Thu, 22 Aug 2013 17:31:09 +0000 (13:31 -0400)
committerKrinkle <krinklemail@gmail.com>
Thu, 22 Aug 2013 17:50:26 +0000 (17:50 +0000)
This does not reflect actual ResourceLoader best practices.

Bug: 51853
Change-Id: I62e875c472ecc54b310ce5ed14fdcabda02e19e5

includes/resourceloader/ResourceLoaderModule.php

index f6a7114..9847ac0 100644 (file)
@@ -274,12 +274,7 @@ abstract class ResourceLoaderModule {
         * Get a list of modules this module depends on.
         *
         * Dependency information is taken into account when loading a module
-        * on the client side. When adding a module on the server side,
-        * dependency information is NOT taken into account and YOU are
-        * responsible for adding dependent modules as well. If you don't do
-        * this, the client side loader will send a second request back to the
-        * server to fetch the missing modules, which kind of defeats the
-        * purpose of the resource loader.
+        * on the client side.
         *
         * To add dependencies dynamically on the client side, use a custom
         * loader script, see getLoaderScript()