Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Err: The "sys" module is now called "util" #84

Open
richzw opened this Issue · 1 comment

1 participant

@richzw

When I make test, I get the following information and tobi hang here.

The "sys" module is now called "util". It should have a similar interface.
@richzw

BTW, I am confused with the code in /lib/browser.js

Browser.prototype.request = function(method, path, options, fn, saveHistory){
var self = this
, server = this.server
, host = this.host || '127.0.0.1'
, headers = options.headers || {};

  // Ensure that server is ready to take connections
  if (server && !server.fd){
   (server.__deferred = server.__deferred || [])
  .push(arguments);
if (!server.__started) {
  server.listen(server.__port = ++startingPort, host, function(){
    process.nextTick(function(){
      server.__deferred.forEach(function(args){
        self.request.apply(self, args);
      });
    });
  });
  server.__started = true;
}
return;            // I am confused with this return in any case?? why?
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.