jenkins-bot has submitted this change and it was merged. Change subject: ApiSandbox should pass jshint ......................................................................
ApiSandbox should pass jshint Bug: 61587 Change-Id: I1c51386288e98fc6084520ef3226094727a3359f --- A .jshintrc M resources/apiSandbox.js M resources/main.js 3 files changed, 4 insertions(+), 2 deletions(-) Approvals: Hashar: Looks good to me, approved jenkins-bot: Verified diff --git a/.jshintrc b/.jshintrc new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/.jshintrc @@ -0,0 +1 @@ +{} diff --git a/resources/apiSandbox.js b/resources/apiSandbox.js index 5d8561a..7601c98 100644 --- a/resources/apiSandbox.js +++ b/resources/apiSandbox.js @@ -1,4 +1,5 @@ /*jslint regexp: true, browser: true, continue: true, sloppy: true, white: true, forin: true, plusplus: true */ +/*global mediaWiki,mw */ mediaWiki.apiSandbox = { namespaceOptions: [], @@ -18,4 +19,4 @@ } }; -mediaWiki.apiSandbox.init(); \ No newline at end of file +mediaWiki.apiSandbox.init(); diff --git a/resources/main.js b/resources/main.js index 9c39223..52ca7de 100644 --- a/resources/main.js +++ b/resources/main.js @@ -1,4 +1,4 @@ -/*global jQuery, mediaWiki, apiSandbox*/ +/*global jQuery, mediaWiki, apiSandbox, mw*/ /*jslint regexp: true, browser: true, continue: true, sloppy: true, white: true, forin: true, plusplus: true */ ( function ( $, mw, apiSandbox, undefined ) { -- To view, visit https://gerrit.wikimedia.org/r/122418 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I1c51386288e98fc6084520ef3226094727a3359f Gerrit-PatchSet: 3 Gerrit-Project: mediawiki/extensions/ApiSandbox Gerrit-Branch: master Gerrit-Owner: AalekhN <aalekh1...@rediffmail.com> Gerrit-Reviewer: Hashar <has...@free.fr> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits