correct system format base support tests

This commit is contained in:
guybedford
2014-12-27 15:59:46 +02:00
parent e6ac5eccd0
commit 5c39685650
3 changed files with 4 additions and 18 deletions

View File

@@ -7,13 +7,9 @@ System.register("es6-modules-system/imports-default/expected", ["foo"], function
execute: function () {
"use strict";
var _interopRequire = function (obj) {
return obj && (obj["default"] || obj);
};
var foo = _foo.default;
var foo = _interopRequire(_foo);
var foo = _interopRequire(_foo);
var foo = _foo.default;
}
};
});

View File

@@ -7,11 +7,7 @@ System.register("es6-modules-system/imports-mixing/expected", ["foo"], function
execute: function () {
"use strict";
var _interopRequire = function (obj) {
return obj && (obj["default"] || obj);
};
var foo = _interopRequire(_foo);
var foo = _foo.default;
var xyz = _foo.baz;
}

View File

@@ -11,13 +11,7 @@ System.register("es6-modules-system/overview/expected", ["foo", "foo-bar", "./di
execute: function () {
"use strict";
var _interopRequire = function (obj) {
return obj && (obj["default"] || obj);
};
var foo = _interopRequire(_foo);
var foo = _foo;
var foo = _foo.default;
var bar = _foo.bar;
var bar = _foo.foo;
_export("test", test);