From 110bbc3c5964a5a9a9ef576f3cd7bbe8070dce54 Mon Sep 17 00:00:00 2001 From: harttle Date: Mon, 26 Sep 2016 21:54:39 +0800 Subject: [PATCH] update README --- README.md | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/README.md b/README.md index 02e30c77d..448e280d6 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ engine.registerTag('upper', { }, render: function(scope, hash) { var str = Liquid.evalValue(this.str, scope); // 'alice' - return str.toUpperCase(); // 'Alice' + return Promise.resolve(str.toUpperCase()); // 'Alice' } }); ``` @@ -223,18 +223,6 @@ Documentation: `==`, `!=`, `>`, `<`, `>=`, `<=`, `or`, `and`, `contains`. -## Async Support - -harttle/shopify-liquid do NOT support async rendering, this is by design. - -The primary principle of harttle/shopify-liquid is EASY TO EXTEND. -Async rendering introduces extra complexity in both implementation and extension. - -For template-driven projects, checkout these Liquid-like engines: - -* liquid-node: -* nunjucks: - [nunjucks]: http://mozilla.github.io/nunjucks/ [liquid-node]: https://github.com/sirlantis/liquid-node [shopify-liquid]: https://shopify.github.io/liquid/