Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[fix] Changed require('sys') to require('util') for compatibility wit…

…h node v0.8
  • Loading branch information...
commit 2ed60e8c81b2aa5742a2e03cb639c98469079356 1 parent e8ee019
@blakmatrix blakmatrix authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 causeeffect.js
View
4 causeeffect.js
@@ -9,14 +9,14 @@
*/
(function() {
- var sys = require("sys"),
+ var util = require('util'),
events = require('events');
function CauseEffect() {
events.EventEmitter.call(this);
this.events = {};
}
- sys.inherits(CauseEffect, events.EventEmitter);
+ util.inherits(CauseEffect, events.EventEmitter);
exports.version = '0.1.0';
exports.CauseEffect = CauseEffect;
Please sign in to comment.
Something went wrong with that request. Please try again.