1 |
|
2 | (function() {
|
3 | var BaseObject,
|
4 | extend = 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; },
|
5 | hasProp = {}.hasOwnProperty;
|
6 |
|
7 | module.exports = BaseObject = (function(superClass) {
|
8 | extend(BaseObject, superClass);
|
9 |
|
10 | function BaseObject() {
|
11 | return BaseObject.__super__.constructor.apply(this, arguments);
|
12 | }
|
13 |
|
14 | return BaseObject;
|
15 |
|
16 | })(require("./BaseClass"));
|
17 |
|
18 | }).call(this);
|
19 |
|
20 |
|