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

Implement round filter #162

Merged
merged 1 commit into from
Jun 10, 2014
Merged

Implement round filter #162

merged 1 commit into from
Jun 10, 2014

Conversation

jmealo
Copy link
Contributor

@jmealo jmealo commented Jun 9, 2014

I brought in round from phpjs to handle the test when -1 is passed as the precision. Previously, the "common" method used .toFixed(precision). We could drop support from that or add some additional logic to avoid bringing in round, however, this will behave the most reliably barring further unit tests.

@jmealo
Copy link
Contributor Author

jmealo commented Jun 9, 2014

Travis fails on Node.js 0.6 and 0.8 due to issues with NPM. All tests pass with this PR.

@justjohn justjohn merged commit 667ad0c into twigjs:master Jun 10, 2014
justjohn added a commit that referenced this pull request Jun 10, 2014
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.

2 participants