From ce675ada944e48e0d62f4a6fef5ae9832505470b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Sch=C3=A4pper?= Date: Fri, 11 Sep 2015 12:02:33 +0200 Subject: [PATCH] fix jshint --- Registry.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Registry.js b/Registry.js index 3a79ed6..b52e91a 100644 --- a/Registry.js +++ b/Registry.js @@ -24,8 +24,8 @@ Registry.prototype = { createInstanceFactory: function (constructorFunction) { return function () { - var args = [null].concat(Array.prototype.slice.call(arguments)) - return new (Function.prototype.bind.apply(constructorFunction, args)); + var args = [null].concat(Array.prototype.slice.call(arguments)); + return new (Function.prototype.bind.apply(constructorFunction, args))(); }.bind(this); },