remove forced closure on super classes
This commit is contained in:
parent
07667d80ff
commit
9680730e24
@ -102,7 +102,6 @@ Class.prototype.run = function () {
|
|||||||
//
|
//
|
||||||
|
|
||||||
if (superName) {
|
if (superName) {
|
||||||
this.closure = true;
|
|
||||||
body.push(t.expressionStatement(t.callExpression(file.addDeclaration("inherits"), [className, superName])));
|
body.push(t.expressionStatement(t.callExpression(file.addDeclaration("inherits"), [className, superName])));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user