Skip to content

Commit f17f1db

Browse files
Change "I've been cleared!" to "Cleared!"
1 parent 5f4cc3b commit f17f1db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ The `setTimer` function takes a callback function and an options object as argum
2222
```javascript
2323
var setTimer = require('set-timer');
2424

25-
// Prints "1", "2", "3", ..., "10", "I've been cleared!"
25+
// Prints "1", "2", "3", ..., "10", "Cleared!"
2626
var timer = setTimer(function () {
2727
console.log(this.calls);
2828
}, {
2929
timeout: 5000, // Wait 5 seconds before first call.
3030
interval: 1000, // Wait 1 second between calls.
3131
limit: 10, // Call callback 10 times.
3232
onClear: function () { // Call after timer is cleared.
33-
console.log("I've been cleared!");
33+
console.log("Cleared!");
3434
}
3535
});
3636
```

0 commit comments

Comments
 (0)