This commit is contained in:
Travis CI 2016-12-15 00:41:35 +00:00
parent 333c2510d0
commit 26057960df
2 changed files with 6 additions and 8 deletions

View file

@ -2239,13 +2239,11 @@ exports.applyToClass = (structure, full = false) => {
props.push('createCollector');
props.push('awaitMessages');
}
for (const prop of props) applyProp(structure, prop);
for (const prop of props) {
Object.defineProperty(structure.prototype, prop, Object.getOwnPropertyDescriptor(TextBasedChannel.prototype, prop));
}
};
function applyProp(structure, prop) {
Object.defineProperty(structure.prototype, prop, Object.getOwnPropertyDescriptor(TextBasedChannel.prototype, prop));
}
/***/ },
/* 12 */

File diff suppressed because one or more lines are too long