Permalink
Browse files

Bring up to speed.

  • Loading branch information...
1 parent 8d3c8c6 commit 57c4682a7dc3000774a4cbab845a22d39acbcedb Arlen Cuss committed May 16, 2012
Showing with 5 additions and 5 deletions.
  1. +2 −2 README.md
  2. +3 −3 noblemachine.js
View
@@ -18,7 +18,7 @@ A NobleMachine is divided into states, which are defined by (generally anonymous
});
act.next(function(err, omgfiles) {
- sys.log(omgfiles);
+ util.log(omgfiles);
});
act.start();
@@ -40,7 +40,7 @@ When passed another NobleMachine, the state transition functions will automatica
});
act.next(function(err, omgfiles) {
- sys.log(omgfiles);
+ util.log(omgfiles);
});
act.start();
View
@@ -15,7 +15,7 @@
* along with NobleMachine. If not, see <http://www.gnu.org/licenses/>.
*/
-var sys = require('sys'),
+var util = require('util'),
events = require('events');
/**
@@ -312,8 +312,8 @@ var NobleMachine = function(initialFuncOrAct) {
return me;
}
-sys.inherits(NobleMachine, events.EventEmitter);
+util.inherits(NobleMachine, events.EventEmitter);
-NobleMachine.logger = { log: sys.log, warning: sys.log, error: sys.log };
+NobleMachine.logger = { log: util.log, warning: util.log, error: util.log };
exports.NobleMachine = NobleMachine;

0 comments on commit 57c4682

Please sign in to comment.