Run everything with --harmony

This commit is contained in:
Chris Blanchard 2015-08-09 15:56:23 +01:00
parent 71cf954447
commit ef456896de
3 changed files with 6 additions and 6 deletions

View file

@ -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()})
});
};

View file

@ -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 () {};

View file

@ -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"
}