Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/schedule.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ var each = require('@ndhoule/each');

var defaultClock = {
setTimeout: function(fn, ms) {
return window.setTimeout(fn, ms);
return setTimeout(fn, ms);
},
clearTimeout: function(id) {
return window.clearTimeout(id);
return clearTimeout(id);
},
Date: window.Date
Date: Date
};

var clock = defaultClock;
Expand Down