dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "resourceloader: Simplify StringSet fallback"
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki.widgets
/
mw.widgets.SearchInputWidget.js
diff --git
a/resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.js
b/resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.js
index
c25ab45
..
e821ce8
100644
(file)
--- a/
resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.js
+++ b/
resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.js
@@
-4,7
+4,7
@@
* @copyright 2011-2015 MediaWiki Widgets Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
* @copyright 2011-2015 MediaWiki Widgets Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
-( function (
$, mw
) {
+( function () {
/**
* Creates a mw.widgets.SearchInputWidget object.
/**
* Creates a mw.widgets.SearchInputWidget object.
@@
-191,6
+191,7
@@
urls = data.data[ 3 ],
self = this;
urls = data.data[ 3 ],
self = this;
+ // eslint-disable-next-line no-restricted-properties
$.each( titles, function ( i, result ) {
items.push( new mw.widgets.TitleOptionWidget(
self.getOptionWidgetData(
$.each( titles, function ( i, result ) {
items.push( new mw.widgets.TitleOptionWidget(
self.getOptionWidgetData(
@@
-247,4
+248,4
@@
return items;
};
return items;
};
-}(
jQuery, mediaWiki
) );
+}() );