From 9680730e240775d6aa8598a2eda27f91cb55dcd3 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Thu, 1 Jan 2015 22:34:22 +1100 Subject: [PATCH] remove forced closure on super classes --- lib/6to5/transformation/transformers/es6-classes.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/6to5/transformation/transformers/es6-classes.js b/lib/6to5/transformation/transformers/es6-classes.js index 3de58f0f0f..31b3ca8843 100644 --- a/lib/6to5/transformation/transformers/es6-classes.js +++ b/lib/6to5/transformation/transformers/es6-classes.js @@ -102,7 +102,6 @@ Class.prototype.run = function () { // if (superName) { - this.closure = true; body.push(t.expressionStatement(t.callExpression(file.addDeclaration("inherits"), [className, superName]))); }