Enforcing JSHint's undef option
This commit is contained in:
parent
34728ee49b
commit
7586d777eb
@ -9,6 +9,7 @@
|
|||||||
"quotmark": "single",
|
"quotmark": "single",
|
||||||
"trailing": true,
|
"trailing": true,
|
||||||
"curly": true,
|
"curly": true,
|
||||||
|
"undef": true,
|
||||||
|
|
||||||
// Relaxing
|
// Relaxing
|
||||||
"boss": true,
|
"boss": true,
|
||||||
|
@ -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') {
|
||||||
|
@ -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.)
|
||||||
|
Loading…
Reference in New Issue
Block a user