diff options
Diffstat (limited to 'thirdparty/systemjs/test/tests/all-layers2.js')
-rw-r--r-- | thirdparty/systemjs/test/tests/all-layers2.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/thirdparty/systemjs/test/tests/all-layers2.js b/thirdparty/systemjs/test/tests/all-layers2.js new file mode 100644 index 000000000..a4a72e128 --- /dev/null +++ b/thirdparty/systemjs/test/tests/all-layers2.js @@ -0,0 +1,20 @@ +System.register(["./all-layers3.js"], function($__export) { + "use strict"; + var q, r, c; + function p() { + if (q) + r = $__export('r', c); + else + q = $__export('q', c); + } + $__export('p', p); + return { + setters: [function(m) { + c = m.c; + }], + execute: function() { + c = 5; + p(); + } + }; +}); |