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/