mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-18 22:10:41 -07:00
6.2.1
This commit is contained in:
Vendored
+4
-3
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* [email protected].0, https://github.com/harttle/liquidjs
|
||||
* [email protected].1, https://github.com/harttle/liquidjs
|
||||
* (c) 2016-2019 harttle
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
@@ -3233,7 +3233,7 @@ var filters = {
|
||||
return Math.floor(v);
|
||||
},
|
||||
'join': function join(v, arg) {
|
||||
return v.join(arg);
|
||||
return v.join(arg === undefined ? ' ' : arg);
|
||||
},
|
||||
'last': function last$$1(v) {
|
||||
return last(v);
|
||||
@@ -3287,7 +3287,8 @@ var filters = {
|
||||
return v.length;
|
||||
},
|
||||
'slice': function slice(v, begin, length) {
|
||||
return v.substr(begin, length === undefined ? 1 : length);
|
||||
if (length === undefined) length = 1;
|
||||
return v.slice(begin, begin + length);
|
||||
},
|
||||
'sort': function sort(v, arg) {
|
||||
return v.sort(arg);
|
||||
|
||||
Reference in New Issue
Block a user