docs(filter): improve syntax for usage in templates

This commit is contained in:
Paulo Ávila 2013-04-24 23:22:19 +03:00 committed by Pete Bacon Darwin
parent 9c6e34bfc1
commit 2bc4793ee8

View file

@ -69,7 +69,7 @@
*
* The general syntax in templates is as follows:
*
* {{ expression | [ filter_name ] }}
* {{ expression [| filter_name[:parameter_value] ... ] }}
*
* @param {String} name Name of the filter function to retrieve
* @return {Function} the filter function