was.js

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 20  →  ?path2? @ 21
/trunk/Gruntfile.js
@@ -44,7 +44,8 @@
boss: true,
eqnull: true,
globals: {
'$': false
'$': false,
'module': false
},
// spread/rest operator
esnext: true
/trunk/lib/lambda/aggregators.js
@@ -54,7 +54,7 @@
}
});
// Node.JS
exports.switch = function(q, d, ...c) {
module.exports.switch = function(q, d, ...c) {
if(c.length % 2 !== 0) {
throw "Pairs of predicates expected for cases";
}