resources: Strip '$' and 'mw' from file closures
[lhc/web/wiklou.git] / resources / src / mediawiki.widgets / MediaSearch / mw.widgets.MediaResultWidget.js
index 7607e84..aaa5da5 100644 (file)
@@ -4,7 +4,7 @@
  * @copyright 2011-2016 VisualEditor Team and others; see AUTHORS.txt
  * @license The MIT License (MIT); see LICENSE.txt
  */
-( function ( $, mw ) {
+( function () {
 
        /**
         * Creates an mw.widgets.MediaResultWidget object.
        mw.widgets.MediaResultWidget.prototype.hasSrc = function () {
                return !!this.src;
        };
-}( jQuery, mediaWiki ) );
+}() );