Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

Commit 8ecda98

Browse files
Merge pull request #595 from 1a23456789/master
Fix Scheduler Constructor example
2 parents 47cbafa + 47e5638 commit 8ecda98

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

doc/api/schedulers/scheduler.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function schedule(state, action) {
9090
// Used for scheduling relative to now
9191
function scheduleRelative(state, dueTime, action) {
9292
var scheduler = this,
93-
dt = Scheduler.normalize(dueTime);
93+
dt = Rx.Scheduler.normalize(dueTime);
9494

9595
// Shortcut if already 0
9696
if (dt === 0) {
@@ -104,7 +104,7 @@ function scheduleRelative(state, dueTime, action) {
104104
}
105105
}, dt);
106106

107-
return new CompositeDisposable(disposable, disposableCreate(function () {
107+
return new Rx.CompositeDisposable(disposable, Rx.Disposable.create(function () {
108108
window.clearTimeout(id);
109109
}));
110110
}

0 commit comments

Comments
 (0)