Created
February 7, 2014 10:28
-
-
Save justinvdm/8860331 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/utils.js b/lib/utils.js | |
index 229b16d..9d5b957 100644 | |
--- a/lib/utils.js | |
+++ b/lib/utils.js | |
@@ -101,7 +101,7 @@ Extendable.extend = function(Child) { | |
var Surrogate = function() { | |
Array.prototype.unshift.call(arguments, this); | |
- Child.apply(this, arguments); | |
+ return Child.apply(this, arguments); | |
}; | |
return inherit(Parent, Surrogate); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👍