mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2024-11-23 04:52:00 +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", {
|
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
|
this.onEvent = function () {}; // Noop
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typof options.onDone === 'function') {
|
if (typeof options.onDone === 'function') {
|
||||||
this.onDone = options.onDone;
|
this.onDone = options.onDone;
|
||||||
} else {
|
} else {
|
||||||
this.onDone = function () {};
|
this.onDone = function () {};
|
||||||
|
|
|
@ -8,11 +8,11 @@
|
||||||
"Skulks with Shotguns"
|
"Skulks with Shotguns"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "NODE_ENV=test mocha spec/",
|
"test": "NODE_ENV=test mocha --harmony spec/",
|
||||||
"start": "npm run compile && node index.js",
|
"start": "npm run compile && node --harmony index.js",
|
||||||
"watch": "node_modules/gulp/bin/gulp.js watch",
|
"watch": "node_modules/gulp/bin/gulp.js watch",
|
||||||
"compile": "node_modules/gulp/bin/gulp.js",
|
"compile": "node_modules/gulp/bin/gulp.js",
|
||||||
"dev": "nodemon index.js"
|
"dev": "nodemon --harmony index.js"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -50,5 +50,5 @@
|
||||||
"nodemon": "~1.3.7",
|
"nodemon": "~1.3.7",
|
||||||
"supertest": "~1.0.1"
|
"supertest": "~1.0.1"
|
||||||
},
|
},
|
||||||
"engine": "node >= 0.10.1"
|
"engine": "node >= 0.12.1"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue