Skip to content

Fix error when global isFinite is undefined - #10

Closed
jeremiahrhall wants to merge 1 commit into
marlun78:masterfrom
jeremiahrhall:master
Closed

jeremiahrhall wants to merge 1 commit into
marlun78:masterfrom
jeremiahrhall:master

Conversation

@jeremiahrhall

Copy link
Copy Markdown

Hi there!

I ran into an issue using this package with PhantomJS. Apparently, isFinite is not defined in the global scope or on Number in PhantomJS so, this change just defines a simple polyfill for that case.

@marlun78

Copy link
Copy Markdown
Owner

Thank you for the PR! I'll take a closer look during the weekend.

@chris-garrett

Copy link
Copy Markdown

@marlun78 Any progress on this PR? This fix allows me to use this package in IE which unfortunately is a requirement for me. Thanks!

@marlun78

Copy link
Copy Markdown
Owner

Sorry guys, I've been super busy lately. I'll do it during the weekend.

@marlun78

Copy link
Copy Markdown
Owner

I chose a slightly different implementation, but thanks for the PR.
This issue was resolved in f33ba917abfbc625e2cc1e1d46439caf15d284b6.

@marlun78 marlun78 closed this Jun 25, 2016
@marlun78

Copy link
Copy Markdown
Owner

@jeremiahrhall @chris-garrett Please let me know if this didn’t solve your issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants