From b0fd084abcc23a9ea6d39e357e0edf887263549d Mon Sep 17 00:00:00 2001 From: Kevin Israel Date: Tue, 14 Jun 2016 23:49:44 -0400 Subject: [PATCH] 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 --- resources/src/startup.js | 2 +- tests/qunit/data/testrunner.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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'; -- 2.20.1