Enforcing JSHint's undef option

This commit is contained in:
Tim van der Meij 2014-07-19 16:41:07 +02:00
parent 34728ee49b
commit 7586d777eb
3 changed files with 5 additions and 3 deletions

View File

@ -9,6 +9,7 @@
"quotmark": "single", "quotmark": "single",
"trailing": true, "trailing": true,
"curly": true, "curly": true,
"undef": true,
// Relaxing // Relaxing
"boss": true, "boss": true,

View File

@ -15,6 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
/*jshint globalstrict: false */ /*jshint globalstrict: false */
/* globals PDFJS */
// Initializing PDFJS global object (if still undefined) // Initializing PDFJS global object (if still undefined)
if (typeof PDFJS === 'undefined') { if (typeof PDFJS === 'undefined') {

View File

@ -1,10 +1,10 @@
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */ /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
/*jshint globalstrict: false */ /* globals SpecialPowers */
'use strict';
var TestReporter = function(browser, appPath) { var TestReporter = function(browser, appPath) {
'use strict';
function send(action, json, cb) { function send(action, json, cb) {
var r = new XMLHttpRequest(); var r = new XMLHttpRequest();
// (The POST URI is ignored atm.) // (The POST URI is ignored atm.)