lib/manager.js
function eval(req, res, source, args) {
  this.spawn();
  this.reply(req, res, this._limit);
  // need to coerce buffers for the moment
  args = args.map(function(a) {
    if(a instanceof Buffer) return a.toString();
    return a;
  })
  this.ps.send({event: 'eval', source: source, args: args});
}
function eval(req, res, source, args) {
  this.spawn();
  this.reply(req, res, this._limit);
  // need to coerce buffers for the moment
  args = args.map(function(a) {
    if(a instanceof Buffer) return a.toString();
    return a;
  })
  this.ps.send({event: 'eval', source: source, args: args});
}
function eval ( req , res , source , args ) { this . spawn ( ) ; this . reply ( req , res , this . _limit ) ; // need to coerce buffers for the moment args = args . map ( function ( a ) { if ( a instanceof Buffer ) return a . toString ( ) ; return a ; } ) this . ps . send ( { event : 'eval' , source : source , args : args } ) ; }
Evaluate a script.
Evaluate a script .