Builds for the latest changes

This commit is contained in:
meew0
2016-01-05 21:29:21 +01:00
parent f51fecf726
commit 6a09ca76df
3 changed files with 134 additions and 88 deletions

View File

@@ -48,7 +48,7 @@ var User = (function (_Equality) {
};
User.prototype.equalsStrict = function equalsStrict(obj) {
if (obj instanceof User) return this.id === obj.id && this.username === obj.username && this.discriminator === obj.discriminator && this.avatar === obj.avatar && this.status === obj.status && this.game && obj.game && this.game.name === obj.game.name;else return false;
if (obj instanceof User) return this.id === obj.id && this.username === obj.username && this.discriminator === obj.discriminator && this.avatar === obj.avatar && this.status === obj.status && (this.game === obj.game || this.game && obj.game && this.game.name === obj.game.name);else return false;
};
User.prototype.equals = function equals(obj) {