Skip to content

Commit

Permalink
Bring up to speed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlen Cuss committed May 16, 2012
1 parent 8d3c8c6 commit 57c4682
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -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();
Expand All @@ -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();
Expand Down
6 changes: 3 additions & 3 deletions noblemachine.js
Expand Up @@ -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');

/**
Expand Down Expand Up @@ -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.