Skip to content

Commit

Permalink
fix review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
asyncanup committed Oct 17, 2017
1 parent 28edebf commit 099a6db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/data/LocalDataSource.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var LocalSource = module.exports = function(cache, options) {
onGet: noOp,
onSet: noOp,
onResults: noOp,
wait: false,
// wait: undefined,
materialize: false
}, options);
this._missCount = 0;
Expand Down Expand Up @@ -61,7 +61,7 @@ LocalSource.prototype = {
observer.onNext(output);
observer.onCompleted();
}
if (wait === false) {
if (wait === undefined) {
exec();
} else {
setTimeout(exec, wait);
Expand Down

0 comments on commit 099a6db

Please sign in to comment.