Permalink
Browse files

Merge pull request #1 from caolan/master

Trivial: use util instead of sys for compatibility with node v0.6.x
  • Loading branch information...
2 parents cce20cc + 6e3667f commit b14cf741fb99234f5824a3e27eac1ef4281360ee @Floby committed Nov 20, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Parser.js
View
4 lib/Parser.js
@@ -1,5 +1,5 @@
var EventEmitter = require('events').EventEmitter;
-var sys = require('sys');
+var util = require('util');
var assert = require('assert');
/**
@@ -38,7 +38,7 @@ function Parser (tokenizer) {
self._newToken(token, type);
});
}
-sys.inherits(Parser, EventEmitter);
+util.inherits(Parser, EventEmitter);
/**
* this function should be called before the parsing begins to specify

0 comments on commit b14cf74

Please sign in to comment.