From 5b212601dbd44544b38dea240f382d826a763413 Mon Sep 17 00:00:00 2001 From: Matthew Flaschen Date: Thu, 22 Aug 2013 13:31:09 -0400 Subject: [PATCH] Remove comment saying code should add RL dependencies directly This does not reflect actual ResourceLoader best practices. Bug: 51853 Change-Id: I62e875c472ecc54b310ce5ed14fdcabda02e19e5 --- includes/resourceloader/ResourceLoaderModule.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/includes/resourceloader/ResourceLoaderModule.php b/includes/resourceloader/ResourceLoaderModule.php index f6a7114af4..9847ac088c 100644 --- a/includes/resourceloader/ResourceLoaderModule.php +++ b/includes/resourceloader/ResourceLoaderModule.php @@ -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() -- 2.20.1