Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Humanize.times is broken for node #27

Closed
aaylward opened this issue Jun 21, 2013 · 0 comments
Closed

Humanize.times is broken for node #27

aaylward opened this issue Jun 21, 2013 · 0 comments
Labels

Comments

@aaylward
Copy link
Contributor

times references window.isFinite via the local isFinite helper. window is undefined in node. There were previously no tests for the times method, but even if there had been, the jasmine test runner creates a mock window object which would have masked the problem.

aaylward added a commit that referenced this issue Jun 21, 2013
 - also added some tests
aaylward added a commit that referenced this issue Jun 21, 2013
aaylward added a commit that referenced this issue Jun 21, 2013
aaylward added a commit that referenced this issue Jun 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant