Please sign in to comment.
when using the syntax <%= epression | filter | filter %> filters are called in this order. a filter function has this prototype function(string) where is string is the result of the expression. It should return a string. one can register a filter by calling blue.registerFilter(name, func) where name is the name of the filter and func, the function to be called
- Loading branch information...
Showing with 52 additions and 5 deletions.
|@@ -1,6 +1,5 @@|
|- Fully implement the Stream interface for the Template class|
|- configuration of <% %> some people seem to not like it =)|
|- caching, then smart caching, you know what, let's go to the smart one directly|
|-- add extendable filters|
|- add support for functions with callback and streams|
|- Add tests and benchmarks|
|@@ -1 +1,3 @@|
|+exports.registerFilter = require('./compile').registerFilter;|
|exports.Template = require('./template');|
|+exports.version = '0.1.0';|