aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/systemjs/test/tests/duplicateDeps/m1.js
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/systemjs/test/tests/duplicateDeps/m1.js')
-rw-r--r--thirdparty/systemjs/test/tests/duplicateDeps/m1.js23
1 files changed, 23 insertions, 0 deletions
diff --git a/thirdparty/systemjs/test/tests/duplicateDeps/m1.js b/thirdparty/systemjs/test/tests/duplicateDeps/m1.js
new file mode 100644
index 000000000..77b7efb3b
--- /dev/null
+++ b/thirdparty/systemjs/test/tests/duplicateDeps/m1.js
@@ -0,0 +1,23 @@
+System.register(["tests/duplicateDeps/m2.js", "tests/duplicateDeps/m2.js", "tests/duplicateDeps/m2.js"], function(exports_1) {
+ var m2_1, m2_2;
+ function foo() {
+ return m2_1.f1() + m2_2.f2();
+ }
+ exports_1("foo", foo);
+ return {
+ setters:[
+ function (_m2_1) {
+ m2_1 = _m2_1;
+ },
+ function (_m2_2) {
+ m2_2 = _m2_2;
+ },
+ function (_m2_3) {
+ var reexports_1 = {};
+ reexports_1["f3"] = _m2_3["f3"];
+ exports_1(reexports_1);
+ }],
+ execute: function() {
+ }
+ }
+});