gwendall/way.js — pull request #23 by michealharker (2014-08-21 20:33:34+00:00)
Title: way.js filters

These quick and simple filters can be implemented in way.js!

Currently, you can only filter data that is output from a form (like it is currently in

). This is done through the way-filter HTML attribute. For example way-filter="uppercase" or way-filter="lowercase". Extra filters could be added as necessary. This is to resolve #21.

Oh, and I should also add that the filters don't seem to like to work on json data. The variable has to have way-json="false" and obviously pointing to something that's not an object :P