diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-10-10 03:50:11 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-10-10 03:50:11 +0200 |
commit | de4628b3a7e7618681a76c01d00c1632a96688cf (patch) | |
tree | 49d4d97cf1c591b8567c83aa2469522f7fa57d27 /thirdparty/systemjs/test/tests/duplicateDeps | |
parent | 7989859ed6520d4e8d18f48545e5998bf66e253c (diff) | |
parent | 9af485a584e47fd503ed5c62b9f6482574715f1e (diff) | |
download | wallet-core-de4628b3a7e7618681a76c01d00c1632a96688cf.tar.xz |
Merge commit '9af485a584e47fd503ed5c62b9f6482574715f1e' as 'thirdparty/systemjs'
Diffstat (limited to 'thirdparty/systemjs/test/tests/duplicateDeps')
-rw-r--r-- | thirdparty/systemjs/test/tests/duplicateDeps/m1.js | 23 | ||||
-rw-r--r-- | thirdparty/systemjs/test/tests/duplicateDeps/m2.js | 13 |
2 files changed, 36 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() {
+ }
+ }
+});
diff --git a/thirdparty/systemjs/test/tests/duplicateDeps/m2.js b/thirdparty/systemjs/test/tests/duplicateDeps/m2.js new file mode 100644 index 000000000..03f71ea8e --- /dev/null +++ b/thirdparty/systemjs/test/tests/duplicateDeps/m2.js @@ -0,0 +1,13 @@ +System.register([], function(exports_1) {
+ function f1() { return 1; }
+ exports_1("f1", f1);
+ function f2() { return 2; }
+ exports_1("f2", f2);
+ function f3() { return 3; }
+ exports_1("f3", f3);
+ return {
+ setters:[],
+ execute: function() {
+ }
+ }
+});
|