UNPKG

2.83 kBJavaScriptView Raw
1(function() {
2var $$___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
13exports.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
31Animal = $$___animal.Animal;
32
33Cat = (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
49module.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
58Animal = $$___animal.Animal;
59
60Dog = (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
76module.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");
82console.log("plain javascript");
83debugger
84console.log("plain javascript");
85console.log("plain javascript");
86console.log("plain javascript");
87
88 return module.exports;
89})({exports: $$___plain}, $$___plain);debugger;
90var Cat, Dog, func;
91
92Dog = $$___animals_dog;
93
94Cat = $$___animals_cat;
95
96exports.Dog = Dog;
97
98exports.Cat = Cat;
99
100func = 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
111func();
112
113$$___plain;
114
115})();
116
117//@ sourceMappingURL=build.js.map
\No newline at end of file