diff options
author | pabs@pablotron.org <pabs@pablotron.org> | 2014-12-18 02:44:00 -0500 |
---|---|---|
committer | pabs@pablotron.org <pabs@pablotron.org> | 2014-12-18 02:44:00 -0500 |
commit | 76b234808980780498a25e7bb3b1ef2bc4c2bb34 (patch) | |
tree | 1800845f899bda6b29d66fefac3902f25c5f23b4 /test.js | |
parent | 68b531fd41c80d736f6d9deeb9500770122f96f0 (diff) | |
download | luigi-template-76b234808980780498a25e7bb3b1ef2bc4c2bb34.tar.bz2 luigi-template-76b234808980780498a25e7bb3b1ef2bc4c2bb34.zip |
update size in documentation
Diffstat (limited to 'test.js')
-rw-r--r-- | test.js | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -25,21 +25,21 @@ var template_str = [ "%{greet}, %{name}!", // test filters and filters with parameters - "Your name hashes to: %{name|hash(sha1)|uc}", + "Your name uppercase is: %{name|uc}", // test custom filter "Your custom filtered name is: %{name|custom}", // test custom filter with arguments - "Your custom_args name is: %{name|custom_args(foo,bar,baz)}", + "Your custom_args name is: %{name|custom_args foo bar baz}", // test whitespace in filters - "random test: %{name | hash( sha512 ) | uc }", + "random test: %{name | lc }", // test pluralize filter - 'pluralize test (0): %{count_0} %{count_0 | pluralize(item)}', - 'pluralize test (1): %{count_1} %{count_1 | pluralize(item)}', - 'pluralize test (10): %{count_10} %{count_10 | pluralize(item)}', + 'pluralize test (0): %{count_0} item%{count_0 | s}', + 'pluralize test (1): %{count_1} item%{count_1 | s}', + 'pluralize test (10): %{count_10} item%{count_10 | s}', // terminating newline '' |