Skip to content

Commit

Permalink
fix jshint
Browse files Browse the repository at this point in the history
  • Loading branch information
bschaepper committed Sep 11, 2015
1 parent b7c33f1 commit ce675ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
},

Expand Down

0 comments on commit ce675ad

Please sign in to comment.