render undefined to ''

This commit is contained in:
harttle
2016-06-26 12:52:37 +08:00
parent a0feabce5b
commit a482b4abe5
4 changed files with 7 additions and 6 deletions
+2 -4
View File
@@ -102,9 +102,7 @@ Footer
* It's possible to define multiple blocks.
* block name is optional when there's only one block.
## Extension
Register Filters:
## Register Filters
```javascript
// Usage: {{ name | uppper }}
@@ -115,7 +113,7 @@ engine.registerFilter('upper', function(v){
> See existing filter implementations: <https://github.com/harttle/shopify-liquid/blob/master/filters.js>
Register Tags:
## Register Tags
```javascript
// Usage: {% upper name%}