Skip to content

Commit

Permalink
Don't depend on setInterval()
Browse files Browse the repository at this point in the history
Fixes #1335
  • Loading branch information
gaearon committed Jan 31, 2016
1 parent 7611347 commit 18b47c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function isCrushed() {}

if (
process.env.NODE_ENV !== 'production' &&
setInterval.name === 'setInterval' &&
typeof isCrushed.name === 'string' &&
isCrushed.name !== 'isCrushed'
) {
warning(
Expand Down

0 comments on commit 18b47c5

Please sign in to comment.