From: Kevin Israel Date: Wed, 15 Jun 2016 03:49:44 +0000 (-0400) Subject: Remove "jshint evil:true" where not required X-Git-Tag: 1.31.0-rc.0~6607^2 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=b0fd084abcc23a9ea6d39e357e0edf887263549d;p=lhc%2Fweb%2Fwiklou.git Remove "jshint evil:true" where not required * resources/src/startup.js: No more document.write() since d7905627fdc3b210. * tests/qunit/data/testrunner.js: No more document.write() since 05f6edc903f81993, and the TestSwarm agent loading code was removed entirely in 0e9f24a169fdb9b9. Change-Id: Iac61874e3ca04e1cad0d0fb2b7cebdc9fd4b237a --- diff --git a/resources/src/startup.js b/resources/src/startup.js index 312e745698..62ee94ea16 100644 --- a/resources/src/startup.js +++ b/resources/src/startup.js @@ -3,7 +3,7 @@ * * This file is where we decide whether to initialise the modern run-time. */ -/*jshint unused: false, evil: true */ +/*jshint unused: false */ /*globals mw, RLQ: true, NORLQ: true, $VARS, $CODE, performance */ var mediaWikiLoadStart = ( new Date() ).getTime(), diff --git a/tests/qunit/data/testrunner.js b/tests/qunit/data/testrunner.js index 1091d093f2..79f37dca44 100644 --- a/tests/qunit/data/testrunner.js +++ b/tests/qunit/data/testrunner.js @@ -1,5 +1,4 @@ /*global CompletenessTest, sinon */ -/*jshint evil: true */ ( function ( $, mw, QUnit ) { 'use strict';