mattbasta/jinja2js — pull request #3 by potch (2012-07-03 07:34:14+00:00)
Title: Fixed empty else case. Added basic filter support.

to use the basic filters, a method named filter() must be in the executing scope. It presently recieves two arguments: the value to be filtered, and the name of the filter. To passthrough, simply return the first argument.

TODO: pass the arugments sent to the filter in a third parameter.