mediawiki.notify: Add JSDoc tags
authorThiemo Mättig <thiemo.maettig@wikimedia.de>
Thu, 6 Aug 2015 13:22:05 +0000 (15:22 +0200)
committerJforrester <jforrester@wikimedia.org>
Thu, 6 Aug 2015 15:59:13 +0000 (15:59 +0000)
Change-Id: I8536e161f7c1911c78ad7dfafbc670e7ed42272b

resources/src/mediawiki/mediawiki.notify.js

index c1e1dab..0f3a086 100644 (file)
@@ -6,8 +6,9 @@
 
        /**
         * @see mw.notification#notify
-        * @param message
-        * @param options
+        * @see mw.notification#defaults
+        * @param {HTMLElement|HTMLElement[]|jQuery|mw.Message|string} message
+        * @param {Object} options See mw.notification#defaults for details.
         * @return {jQuery.Promise}
         */
        mw.notify = function ( message, options ) {