Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix typo
  • Loading branch information
trueadm committed Sep 26, 2018
commit 1e99062145c331f0e258c9a6feaebf1cddaee18e
2 changes: 1 addition & 1 deletion packages/scheduler/src/Scheduler.js
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ var getFrameDeadline;

// "addEventListener" might not be available on the window object
// if this is a mocked "window" object. So we need to validate that too.
if (typeof window === 'undefined' || typeof window.addEventListener === 'function') {
if (typeof window === 'undefined' || typeof window.addEventListener !== 'function') {
// If this accidentally gets imported in a non-browser environment, fallback
// to a naive implementation.
var timeoutID = -1;
Expand Down