⬆️ 👕 updated to eslint 2.1.0
Verified migration doc (nothing to be done) http://eslint.org/docs/user-guide/migrating-to-2.0.0 And made sure the eslint tasks passed
This commit is contained in:
parent
f3f6fa958e
commit
2aff0c47d0
16 changed files with 28 additions and 27 deletions
4
spec/fixtures/module/call.js
vendored
4
spec/fixtures/module/call.js
vendored
|
@ -1,7 +1,7 @@
|
|||
exports.call = function(func) {
|
||||
return func();
|
||||
}
|
||||
};
|
||||
|
||||
exports.constructor = function() {
|
||||
this.test = 'test';
|
||||
}
|
||||
};
|
||||
|
|
2
spec/fixtures/module/id.js
vendored
2
spec/fixtures/module/id.js
vendored
|
@ -1 +1 @@
|
|||
exports.id = 1127
|
||||
exports.id = 1127;
|
||||
|
|
2
spec/fixtures/module/locale-compare.js
vendored
2
spec/fixtures/module/locale-compare.js
vendored
|
@ -1,4 +1,4 @@
|
|||
process.on('message', function (msg) {
|
||||
process.on('message', function () {
|
||||
process.send([
|
||||
'a'.localeCompare('a'),
|
||||
'ä'.localeCompare('z', 'de'),
|
||||
|
|
2
spec/fixtures/module/original-fs.js
vendored
2
spec/fixtures/module/original-fs.js
vendored
|
@ -1,3 +1,3 @@
|
|||
process.on('message', function (msg) {
|
||||
process.on('message', function () {
|
||||
process.send(typeof require('original-fs'));
|
||||
});
|
||||
|
|
4
spec/fixtures/module/print_name.js
vendored
4
spec/fixtures/module/print_name.js
vendored
|
@ -1,7 +1,7 @@
|
|||
exports.print = function(obj) {
|
||||
return obj.constructor.name;
|
||||
}
|
||||
};
|
||||
|
||||
exports.echo = function(obj) {
|
||||
return obj;
|
||||
}
|
||||
};
|
||||
|
|
2
spec/fixtures/module/promise.js
vendored
2
spec/fixtures/module/promise.js
vendored
|
@ -2,4 +2,4 @@ exports.twicePromise = function (promise) {
|
|||
return promise.then(function (value) {
|
||||
return value * 2;
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
2
spec/fixtures/module/property.js
vendored
2
spec/fixtures/module/property.js
vendored
|
@ -1 +1 @@
|
|||
exports.property = 1127
|
||||
exports.property = 1127;
|
||||
|
|
2
spec/fixtures/module/send-later.js
vendored
2
spec/fixtures/module/send-later.js
vendored
|
@ -1,4 +1,4 @@
|
|||
var ipcRenderer = require('electron').ipcRenderer;
|
||||
window.onload = function() {
|
||||
ipcRenderer.send('answer', typeof window.process);
|
||||
}
|
||||
};
|
||||
|
|
2
spec/fixtures/module/set-immediate.js
vendored
2
spec/fixtures/module/set-immediate.js
vendored
|
@ -3,7 +3,7 @@ process.on('uncaughtException', function(error) {
|
|||
process.exit(1);
|
||||
});
|
||||
|
||||
process.on('message', function(msg) {
|
||||
process.on('message', function() {
|
||||
setImmediate(function() {
|
||||
process.send('ok');
|
||||
process.exit(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue