Add a note when the return value was added to mediawiki.loader.using
authorNiklas Laxström <niklas.laxstrom@gmail.com>
Thu, 30 Oct 2014 07:59:24 +0000 (08:59 +0100)
committerNiklas Laxström <niklas.laxstrom@gmail.com>
Thu, 30 Oct 2014 07:59:24 +0000 (08:59 +0100)
Change-Id: I090b0cdb7be57d6cd93318ee28cab434a0d484f4

resources/src/mediawiki/mediawiki.js

index a709fe5..cfdb5a7 100644 (file)
                                 * @param {Function} [ready] Callback to execute when all dependencies are ready
                                 * @param {Function} [error] Callback to execute if one or more dependencies failed
                                 * @return {jQuery.Promise}
+                                * @since 1.23 this returns a promise
                                 */
                                using: function ( dependencies, ready, error ) {
                                        var deferred = $.Deferred();