raw event

This commit is contained in:
Daniel Odendahl Jr
2017-12-12 14:48:16 +00:00
parent 7e0b93499a
commit 735548d5dc
3 changed files with 19 additions and 9 deletions
-8
View File
@@ -61,14 +61,6 @@ class Util {
return arr;
}
static promisifyAll(obj, suffix = 'Async') {
for (const key of Object.keys(obj)) {
if (typeof obj[key] !== 'function') continue;
obj[`${key}${suffix}`] = promisify(obj[key]);
}
return obj;
}
static cleanXML(text) {
return text
.replace(/<br \/>/g, '')