diff --git a/src/js/call.js b/src/js/call.js index d365825b..728aa9b1 100644 --- a/src/js/call.js +++ b/src/js/call.js @@ -268,10 +268,6 @@ Call.fetchTurnConfig_ = function(onSuccess, onError) { xhr.onreadystatechange = onResult; // API_KEY and TURN_URL is replaced with API_KEY environment variable via // Gruntfile.js during build time by uglifyJS. - // jscs:disable - /* jshint ignore:start */ xhr.open('POST', TURN_URL + API_KEY, true); - // jscs:enable - /* jshint ignore:end */ xhr.send(); }; diff --git a/src/js/main.js b/src/js/main.js index d099761e..584b7b84 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -5,10 +5,8 @@ * that can be found in the LICENSE file in the root of the source * tree. */ - -/* More information about these options at jshint.com/docs/options */ -/* exported addExplicitTest, addTest, audioContext */ 'use strict'; +/* exported addExplicitTest, addTest, audioContext */ // Global WebAudio context that can be shared by all tests. // There is a very finite number of WebAudio contexts. diff --git a/src/js/ssim.js b/src/js/ssim.js index 34c1291d..20539d98 100644 --- a/src/js/ssim.js +++ b/src/js/ssim.js @@ -5,8 +5,6 @@ * that can be found in the LICENSE file in the root of the source * tree. */ - -/* More information about these options at jshint.com/docs/options */ 'use strict'; /* This is an implementation of the algorithm for calculating the Structural diff --git a/src/js/videoframechecker.js b/src/js/videoframechecker.js index 1756e4aa..41160f23 100644 --- a/src/js/videoframechecker.js +++ b/src/js/videoframechecker.js @@ -5,9 +5,8 @@ * that can be found in the LICENSE file in the root of the source * tree. */ - -/* More information about these options at jshint.com/docs/options */ 'use strict'; + function VideoFrameChecker(videoElement) { this.frameStats = { numFrozenFrames: 0, diff --git a/test/run-tests.js b/test/run-tests.js index d565628a..39afaf01 100644 --- a/test/run-tests.js +++ b/test/run-tests.js @@ -5,9 +5,6 @@ * that can be found in the LICENSE file in the root of the source * tree. */ -/* jshint node: true */ -/* globals require */ - 'use strict'; var test = require('tape'); diff --git a/test/sanity-test.js b/test/sanity-test.js index 8db8be1d..4a52207c 100644 --- a/test/sanity-test.js +++ b/test/sanity-test.js @@ -5,11 +5,10 @@ * that can be found in the LICENSE file in the root of the source * tree. */ - 'use strict'; + // This is a basic test file for use with testling. // The test script language comes from tape. -/* jshint node: true */ var test = require('tape'); var webdriver = require('selenium-webdriver');