Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

all: remove references to jshint and jscs #241

Merged
merged 1 commit into from
Sep 26, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/js/call.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
};
4 changes: 1 addition & 3 deletions src/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 0 additions & 2 deletions src/js/ssim.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions src/js/videoframechecker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 0 additions & 3 deletions test/run-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down
3 changes: 1 addition & 2 deletions test/sanity-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down