re-exporting in setters

This commit is contained in:
guybedford
2014-12-28 14:42:43 +02:00
parent cfe05ca10d
commit 295bab544b

View File

@@ -3,14 +3,10 @@ System.register(["foo"], function (_export) {
return {
setters: [function (m) {
_foo = m
}],
execute: function () {
"use strict";
for (var i in _foo) {
_export(i, _foo[i])
}
_export("foo", _foo.foo);
_export("foo", _foo.foo);
@@ -24,6 +20,10 @@ System.register(["foo"], function (_export) {
_export("default", _foo.foo);
_export("bar", _foo.bar);
}],
execute: function () {
"use strict";
}
};
});