Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. var util = require('util');
  2. module.exports = (function() {
  3.  
  4. var _core = function() {
  5. zc.debug("_core constructed");
  6. console.dir(this.prototype);
  7. };
  8.  
  9. _.extend(_core.prototype, {
  10. start: function() {
  11. zc.debug("_core: Starting");
  12. this._init();
  13. }
  14. });
  15.  
  16. console.dir(_core.prototype);
  17.  
  18. _.extend(_core.prototype, {
  19. _init: function() {
  20. }
  21. });
  22.  
  23. zc.debug("Calling constructor");
  24.  
  25. __the_core = new _core();
  26.  
  27. console.dir(__the_core);
  28. console.dir(__the_core.prototype);
  29.  
  30. return __the_core;
  31.  
  32. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement