Fix documentation of mw.loader.getState
authorRicordisamoa <ricordisamoa@openmailbox.org>
Fri, 2 Jan 2015 20:59:24 +0000 (21:59 +0100)
committerKrinkle <krinklemail@gmail.com>
Sun, 4 Jan 2015 13:32:36 +0000 (13:32 +0000)
The misleading comment was copied from mw.loader.getVersion
in commit 6a1ec17e79.

Change-Id: I73ddb67901da808fd402742232b4b4dd2ad31ebc

resources/src/mediawiki/mediawiki.js

index 40f8ef9..df6b33a 100644 (file)
                                 * Get the state of a module.
                                 *
                                 * @param {string} module Name of module
-                                * @return {string|null} The state, or null if the module (or its version) is not
+                                * @return {string|null} The state, or null if the module (or its state) is not
                                 *  in the registry.
                                 */
                                getState: function ( module ) {