This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var child_process = require('child_process'); | |
| start(); | |
| function start(nodefile) { | |
| if (typeof start !== 'string') { | |
| console.log('Has none file. like this: start("app.js")'); | |
| } | |
| console.log('Master process is running.'); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;(function(){ | |
| function do_inherit(cls_1, parent_1, opt) { | |
| var inherited = is_inherited.call(this, cls_1, parent_1), | |
| parent = typeof parent_1 === 'function' ? new parent_1(opt) : parent_1; | |
| if (!cls_1.supperclass || !inherited) { | |
| cls_1.supperclass = parent_1; | |
| cls_1.prototype = tbc.extend(parent, cls_1.prototype, { | |
| /** |
NewerOlder