From 76b234808980780498a25e7bb3b1ef2bc4c2bb34 Mon Sep 17 00:00:00 2001 From: "pabs@pablotron.org" Date: Thu, 18 Dec 2014 02:44:00 -0500 Subject: update size in documentation --- test.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test.js') diff --git a/test.js b/test.js index afbad18..0fedfcd 100644 --- a/test.js +++ b/test.js @@ -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 '' -- cgit v1.2.3