aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/systemjs/test/tests/group-test.js
blob: 61e4eea780c06a29cb9e802bc7fa5767dd402f0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
"format register";

System.register("group-c", [], function($__export) {
  "use strict";
  var __moduleName = "group-c";
  return {
    setters: [],
    execute: function() {
      $__export('default', 'bar');
    }
  };
});



System.registerDynamic("group-b", ["group-c"], false, function(__require, __exports, __module) {
  var _retrieveGlobal = System.get("@@global-helpers").prepareGlobal(__module.id);
  (function() {
    this.foo = 'foo';
  }).call(System.global);
  return _retrieveGlobal();
});

System.register("group-a", ["./group-b"], function($__export) {
  "use strict";
  var __moduleName = "group-a";
  return {
    setters: [function(m) {}],
    execute: function() {}
  };
});