mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2024-11-26 22:31:08 +00:00
Run everything with --harmony
This commit is contained in:
parent
71cf954447
commit
ef456896de
3 changed files with 6 additions and 6 deletions
|
@ -38,7 +38,7 @@ module.exports = function (namespace) {
|
|||
});
|
||||
|
||||
namespace.emit("gather:history", {
|
||||
gatherHistory: previousGathers.slice(0,5).map(function (gather) { return gather.toJson(); });
|
||||
gatherHistory: previousGathers.slice(0,5).map((gather) => {return gather.toJson()})
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ function Gather (options) {
|
|||
this.onEvent = function () {}; // Noop
|
||||
}
|
||||
|
||||
if (typof options.onDone === 'function') {
|
||||
if (typeof options.onDone === 'function') {
|
||||
this.onDone = options.onDone;
|
||||
} else {
|
||||
this.onDone = function () {};
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
"Skulks with Shotguns"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "NODE_ENV=test mocha spec/",
|
||||
"start": "npm run compile && node index.js",
|
||||
"test": "NODE_ENV=test mocha --harmony spec/",
|
||||
"start": "npm run compile && node --harmony index.js",
|
||||
"watch": "node_modules/gulp/bin/gulp.js watch",
|
||||
"compile": "node_modules/gulp/bin/gulp.js",
|
||||
"dev": "nodemon index.js"
|
||||
"dev": "nodemon --harmony index.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -50,5 +50,5 @@
|
|||
"nodemon": "~1.3.7",
|
||||
"supertest": "~1.0.1"
|
||||
},
|
||||
"engine": "node >= 0.10.1"
|
||||
"engine": "node >= 0.12.1"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue