started working on bug fixes and test scripts

This commit is contained in:
Amish Shah
2015-12-04 20:30:11 +00:00
parent fdf1107404
commit ac2398e47c
30 changed files with 209 additions and 40 deletions

View File

@@ -5,4 +5,4 @@ exports.reg = reg;
function reg(c, a) {
return [c].concat(Array.prototype.slice.call(a));
}
}

View File

@@ -27,8 +27,8 @@ var Cache = (function (_Array) {
return found;
};
Cache.prototype.has = function has(key, value) {
return !!this.get(key, value);
Cache.prototype.has = function has(object) {
return !!this.get(this.discrim, object[this.discrim]);
};
Cache.prototype.getAll = function getAll(key, value) {
@@ -106,4 +106,4 @@ var Cache = (function (_Array) {
})(Array);
exports["default"] = Cache;
module.exports = exports["default"];
module.exports = exports["default"];

View File

@@ -45,4 +45,4 @@ var Equality = (function () {
})();
exports["default"] = Equality;
module.exports = exports["default"];
module.exports = exports["default"];