Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var util = require('util');
- module.exports = (function() {
- var _core = function() {
- zc.debug("_core constructed");
- console.dir(this.prototype);
- };
- _.extend(_core.prototype, {
- start: function() {
- zc.debug("_core: Starting");
- this._init();
- }
- });
- console.dir(_core.prototype);
- _.extend(_core.prototype, {
- _init: function() {
- }
- });
- zc.debug("Calling constructor");
- __the_core = new _core();
- console.dir(__the_core);
- console.dir(__the_core.prototype);
- return __the_core;
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement