Skip to content

Commit 00c94a3

Browse files
committed
Auto fix lint issues.
1 parent 14af69c commit 00c94a3

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

runner-json.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*global phantom:false, require:false, console:false, window:false, QUnit:false */
1+
/* global phantom:false, require:false, console:false, window:false, QUnit:false */
22

33
(function () {
44
'use strict';
@@ -31,7 +31,7 @@
3131
}
3232
}
3333
}
34-
} catch(e) {
34+
} catch (e) {
3535
console.error('Error parsing "' + args[3] + '": ' + e);
3636
}
3737
}
@@ -73,6 +73,7 @@
7373
var qunitMissing = page.evaluate(function () {
7474
return (typeof QUnit === 'undefined' || !QUnit);
7575
});
76+
7677
if (qunitMissing) {
7778
console.error('The `QUnit` object is not present on this page.');
7879
exit(1);
@@ -133,6 +134,7 @@
133134

134135
if (result.failed) {
135136
var exceptions = currentTestAssertions.slice(0)[0].split('\n');
137+
136138
testExceptions[name] = exceptions.map(function (e) {
137139
return e.trim();
138140
});

runner-list.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*global phantom:false, require:false, console:false, window:false, QUnit:false */
1+
/* global phantom:false, require:false, console:false, window:false, QUnit:false */
22

33
(function () {
44
'use strict';
@@ -31,7 +31,7 @@
3131
}
3232
}
3333
}
34-
} catch(e) {
34+
} catch (e) {
3535
console.error('Error parsing "' + args[3] + '": ' + e);
3636
}
3737
}
@@ -73,6 +73,7 @@
7373
var qunitMissing = page.evaluate(function () {
7474
return (typeof QUnit === 'undefined' || !QUnit);
7575
});
76+
7677
if (qunitMissing) {
7778
console.error('The `QUnit` object is not present on this page.');
7879
exit(1);

runner-xml.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*global phantom:false, require:false, console:false, window:false, QUnit:false */
1+
/* global phantom:false, require:false, console:false, window:false, QUnit:false */
22

33
(function () {
44
'use strict';
@@ -73,6 +73,7 @@
7373
var qunitMissing = page.evaluate(function () {
7474
return (typeof QUnit === 'undefined' || !QUnit);
7575
});
76+
7677
if (qunitMissing) {
7778
console.error('The `QUnit` object is not present on this page.');
7879
exit(1);

runner.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*global phantom:false, require:false, console:false, window:false, QUnit:false */
1+
/* global phantom:false, require:false, console:false, window:false, QUnit:false */
22

33
(function () {
44
'use strict';
@@ -31,7 +31,7 @@
3131
}
3232
}
3333
}
34-
} catch(e) {
34+
} catch (e) {
3535
console.error('Error parsing "' + args[3] + '": ' + e);
3636
}
3737
}
@@ -73,6 +73,7 @@
7373
var qunitMissing = page.evaluate(function () {
7474
return (typeof QUnit === 'undefined' || !QUnit);
7575
});
76+
7677
if (qunitMissing) {
7778
console.error('The `QUnit` object is not present on this page.');
7879
exit(1);

0 commit comments

Comments
 (0)