From cd87bd0e35b21032898ec594af639808e394964d Mon Sep 17 00:00:00 2001 From: Jiiks Date: Fri, 2 Feb 2018 14:55:57 +0200 Subject: [PATCH] Revert for now --- common/modules/utils.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/common/modules/utils.js b/common/modules/utils.js index afcaec73..84380086 100644 --- a/common/modules/utils.js +++ b/common/modules/utils.js @@ -16,12 +16,11 @@ const import { Vendor } from 'modules'; export class Utils { - static overload(fn, cb, p) { + static overload(fn, cb) { const orig = fn; return function (...args) { - orig.call(p, ...args); - // cb.apply(...args); - // cb(...args); + orig(...args); + cb(...args); } }