mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 01:53:30 +01:00
started working on bug fixes and test scripts
This commit is contained in:
@@ -5,4 +5,4 @@ exports.reg = reg;
|
||||
|
||||
function reg(c, a) {
|
||||
return [c].concat(Array.prototype.slice.call(a));
|
||||
}
|
||||
}
|
||||
@@ -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"];
|
||||
@@ -45,4 +45,4 @@ var Equality = (function () {
|
||||
})();
|
||||
|
||||
exports["default"] = Equality;
|
||||
module.exports = exports["default"];
|
||||
module.exports = exports["default"];
|
||||
Reference in New Issue
Block a user