fix super constructor call - fixes #34
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
var Test = function (Foo) {
|
||||
function Test() {
|
||||
Foo.call(this, arguments);
|
||||
Foo.apply(this, arguments);
|
||||
}
|
||||
Test.prototype = Object.create(Foo.prototype, {
|
||||
constructor: {
|
||||
|
||||
Reference in New Issue
Block a user