This commit is contained in:
harttle
2016-12-15 22:39:52 +08:00
parent 4719544d49
commit c99dfd69e7
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ var filters = {
return v.replace(/\n/g, '<br />'); return v.replace(/\n/g, '<br />');
}, },
'plus': bindFixed(function (v, arg) { 'plus': bindFixed(function (v, arg) {
return v + arg; return Number(v) + Number(arg);
}), }),
'prepend': function prepend(v, arg) { 'prepend': function prepend(v, arg) {
return arg + v; return arg + v;
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "shopify-liquid", "name": "shopify-liquid",
"version": "1.5.3", "version": "1.5.4",
"description": "A feature-rich Liquid template engine for Node.js and browsers, with compliance with the Ruby version.", "description": "A feature-rich Liquid template engine for Node.js and browsers, with compliance with the Ruby version.",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {