class declarations also have a lexical self binding
This commit is contained in:
@@ -33,11 +33,11 @@ System.register([], function (_export) {
|
||||
_export("default", _default);
|
||||
|
||||
Foo = (function () {
|
||||
var _Foo = function Foo() {
|
||||
_classCallCheck(this, _Foo);
|
||||
};
|
||||
function Foo() {
|
||||
_classCallCheck(this, Foo);
|
||||
}
|
||||
|
||||
return _Foo;
|
||||
return Foo;
|
||||
})();
|
||||
|
||||
_export("default", Foo);
|
||||
|
||||
@@ -19,11 +19,11 @@ System.register([], function (_export) {
|
||||
foo5 = _export("foo5", undefined);
|
||||
foo6 = _export("foo6", 3);
|
||||
foo8 = _export("foo8", (function () {
|
||||
var _foo8 = function foo8() {
|
||||
_classCallCheck(this, _foo8);
|
||||
};
|
||||
function foo8() {
|
||||
_classCallCheck(this, foo8);
|
||||
}
|
||||
|
||||
return _foo8;
|
||||
return foo8;
|
||||
})());
|
||||
|
||||
_export("foo3", foo3 = 5);
|
||||
|
||||
Reference in New Issue
Block a user