"disallowQuotedKeysInObjects": "allButReserved",
"requireDotNotation": { "allExcept": [ "keywords" ] },
"jsDoc": {
+ "checkRedundantReturns": true,
"requireNewlineAfterDescription": true,
"requireParamTypes": true,
"requireReturnTypes": true
*
* @class jQuery.plugin.suggestions
*/
+
/**
* @method suggestions
- * @return {jQuery}
* @chainable
+ * @return {jQuery}
*
* @param {Object} options
*
* @param {boolean} [options.highlightInput=false] Whether to highlight matched portions of the
* input or not.
*/
+
( function ( $ ) {
var hasOwn = Object.hasOwnProperty;
/**
* Post a message (with subject and body) to a talk page.
*
+ * @abstract
* @param {string} subject Subject/topic title; plaintext only (no wikitext or HTML)
* @param {string} body Body, as wikitext. Signature code will automatically be added
* by MessagePosters that require one, unless the message already contains the string
* @param {string|null} [fade=null] Direction in which to fade out current calendar contents,
* 'previous', 'next', 'up' or 'down'; or 'auto', which has the same result as 'previous' or
* 'next' depending on whether the current date is later or earlier than the previous.
- * @returns {string} Format
*/
mw.widgets.CalendarWidget.prototype.updateUI = function ( fade ) {
var items, today, selected, currentMonth, currentYear, currentDay, i, needsFade,
* @param {Function} callback
* @param {boolean|jQuery.Event} callback.immediate True when the event is called immediately,
* an event object when triggered from an event.
- * @return {jQuery}
* @chainable
+ * @return {jQuery}
*/
mw.log.deprecate( $.fn, 'liveAndTestAtStart', function ( callback ) {
- this
+ return this
// Can't really migrate to .on() generically, needs knowledge of
// calling code to know the correct selector. Fix callers and
// get rid of this .liveAndTestAtStart() hack.