1 | (function() {
|
2 | var $$___lib_index = {};
|
3 | $$___lib_index = (function(module, exports) {
|
4 | module.exports = [1, 2, 3];
|
5 |
|
6 | return module.exports;
|
7 | })({exports: $$___lib_index}, $$___lib_index);var $$___animal = {};
|
8 | $$___animal = (function(module, exports) {
|
9 | var Animal, a, b, c, _ref;
|
10 |
|
11 | _ref = $$___lib_index, a = _ref[0], b = _ref[1], c = _ref[2];
|
12 |
|
13 | exports.Animal = Animal = (function() {
|
14 | function Animal() {}
|
15 |
|
16 | Animal.prototype.kill = function() {
|
17 | return this.killed = true;
|
18 | };
|
19 |
|
20 | return Animal;
|
21 |
|
22 | })();
|
23 |
|
24 | return module.exports;
|
25 | })({exports: $$___animal}, $$___animal);var $$___animals_cat = {};
|
26 | $$___animals_cat = (function(module, exports) {
|
27 | var Animal, Cat, _ref,
|
28 | __hasProp = {}.hasOwnProperty,
|
29 | __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
|
30 |
|
31 | Animal = $$___animal.Animal;
|
32 |
|
33 | Cat = (function(_super) {
|
34 | __extends(Cat, _super);
|
35 |
|
36 | function Cat() {
|
37 | _ref = Cat.__super__.constructor.apply(this, arguments);
|
38 | return _ref;
|
39 | }
|
40 |
|
41 | Cat.prototype.hide = function() {
|
42 | return this.hidden = true;
|
43 | };
|
44 |
|
45 | return Cat;
|
46 |
|
47 | })(Animal);
|
48 |
|
49 | module.exports = Cat;
|
50 |
|
51 | return module.exports;
|
52 | })({exports: $$___animals_cat}, $$___animals_cat);var $$___animals_dog = {};
|
53 | $$___animals_dog = (function(module, exports) {
|
54 | var Animal, Dog, _ref,
|
55 | __hasProp = {}.hasOwnProperty,
|
56 | __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
|
57 |
|
58 | Animal = $$___animal.Animal;
|
59 |
|
60 | Dog = (function(_super) {
|
61 | __extends(Dog, _super);
|
62 |
|
63 | function Dog() {
|
64 | _ref = Dog.__super__.constructor.apply(this, arguments);
|
65 | return _ref;
|
66 | }
|
67 |
|
68 | Dog.prototype.bark = function() {
|
69 | return this.barked = true;
|
70 | };
|
71 |
|
72 | return Dog;
|
73 |
|
74 | })(Animal);
|
75 |
|
76 | module.exports = Dog;
|
77 |
|
78 | return module.exports;
|
79 | })({exports: $$___animals_dog}, $$___animals_dog);var $$___plain = {};
|
80 | $$___plain = (function(module, exports) {
|
81 | console.log("plain javascript");
|
82 | console.log("plain javascript");
|
83 | debugger
|
84 | console.log("plain javascript");
|
85 | console.log("plain javascript");
|
86 | console.log("plain javascript");
|
87 |
|
88 | return module.exports;
|
89 | })({exports: $$___plain}, $$___plain);debugger;
|
90 | var Cat, Dog, func;
|
91 |
|
92 | Dog = $$___animals_dog;
|
93 |
|
94 | Cat = $$___animals_cat;
|
95 |
|
96 | exports.Dog = Dog;
|
97 |
|
98 | exports.Cat = Cat;
|
99 |
|
100 | func = function() {
|
101 | debugger;
|
102 | var cat, dog;
|
103 | dog = new Dog();
|
104 | cat = new Cat();
|
105 | dog.bark();
|
106 | cat.hide();
|
107 | dog.kill();
|
108 | return cat.kill();
|
109 | };
|
110 |
|
111 | func();
|
112 |
|
113 | $$___plain;
|
114 |
|
115 | })();
|
116 |
|
117 |
|
\ | No newline at end of file |