Skip to content

Commit

Permalink
documentation cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gregl83 committed May 5, 2015
1 parent e1d9714 commit 168b118
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ var Systime = require('systime');

var systime = new Systime();

// bind listeners to zero or more of the following events (each callback has a date object argument)
// bind listeners to zero or more of the following events
// (each callback has a date object argument)

systime.on('second', function(date) {
console.log(date);
Expand Down Expand Up @@ -64,10 +65,10 @@ systime.on('year', function() {

systime.start(); // start systime

// systime will run until the process has exited or the systime.stop() method is called
// runs until process has exited or systime.stop() method called
```

The above will start systime and console.log when event listeners are triggered.
The above starts systime and console logs as event listeners are triggered.

See `./example/events.js` for working example.

Expand Down

0 comments on commit 168b118

Please sign in to comment.