diff --git a/lib/utils.js b/lib/utils.js index eec6660..4ebd787 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -219,15 +219,13 @@ var Utils = module.exports = { force = force || false; _.forEach(methods, function(method) { - if (!_.isFunction(target[method])) { - return; - } - if (_.isFunction(base[method]) && !force) { return; } - base[method] = target[method].bind(target); + base[method] = function() { + return target[method].apply(target, arguments); + }; }); return base;