justjohn/twig.js — pull request #162 by jmealo (2014-06-09 14:12:54+00:00)
Title: Implement round filter

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.