Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Commit

Permalink
Fix throttleWithSelector
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Medeiros committed Jan 30, 2015
1 parent 42a4762 commit 8321093
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion TODO
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ DONE Bug: slowly dragging should change marble time
>>> v1.1.0

DONE Cycle.js rewrite
TODO Fix throttleWithSelector
DONE Fix throttleWithSelector
TODO Add withLatestFrom example
>>> v1.2.0

Expand Down
2 changes: 1 addition & 1 deletion dist/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -24642,7 +24642,7 @@ module.exports = {
inputs: [[{ t: 0, d: 1 }, { t: 26, d: 2 }, { t: 34, d: 1 }, { t: 40, d: 1 }, { t: 45, d: 2 }, { t: 79, d: 1 }]],
apply: function (inputs, scheduler) {
return inputs[0].throttleWithSelector(function (x) {
return Rx.Observable.timer(Number(x.content) * 10, 1000, scheduler);
return Rx.Observable.timer(Number(x.get("content")) * 10, 1000, scheduler);
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/data/transform-examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ module.exports = {
],
"apply": function(inputs, scheduler) {
return inputs[0].throttleWithSelector(x =>
Rx.Observable.timer(Number(x.content) * 10, 1000, scheduler)
Rx.Observable.timer(Number(x.get('content')) * 10, 1000, scheduler)
);
}
}
Expand Down

0 comments on commit 8321093

Please sign in to comment.