mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Updated docs
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
|
||||
exports.reg = function (c, a) {
|
||||
return [c].concat(Array.prototype.slice.call(a));
|
||||
};
|
||||
};
|
||||
@@ -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);
|
||||
|
||||
@@ -42,4 +42,4 @@ var Equality = (function () {
|
||||
return Equality;
|
||||
})();
|
||||
|
||||
module.exports = Equality;
|
||||
module.exports = Equality;
|
||||
Reference in New Issue
Block a user