Updated docs

This commit is contained in:
hydrabolt
2015-11-20 16:40:26 +00:00
parent 10ea6a9336
commit b6f158fac4
22 changed files with 25 additions and 20 deletions

View File

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

View File

@@ -30,7 +30,7 @@ var Cache = (function (_Array) {
};
Cache.prototype.getAll = function getAll(key, value) {
var found = [];
var found = new Cache(this.discrim);
this.forEach(function (val, index, array) {
if (val.hasOwnProperty(key) && val[key] == value) {
found.push(val);

View File

@@ -42,4 +42,4 @@ var Equality = (function () {
return Equality;
})();
module.exports = Equality;
module.exports = Equality;