mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-17 05:10:40 -07:00
2.1.1
This commit is contained in:
Vendored
-2
@@ -1671,7 +1671,6 @@ var formatCodes = {
|
||||
},
|
||||
z: function z(d) {
|
||||
var tz = d.getTimezoneOffset() / 60 * 100;
|
||||
console.log('tz', tz);
|
||||
return (tz > 0 ? '-' : '+') + _number.pad(Math.abs(tz), 4);
|
||||
},
|
||||
'%': function _() {
|
||||
@@ -1887,7 +1886,6 @@ function shouldTrimRight(token, inRaw, options) {
|
||||
function trimLeft(token, greedy) {
|
||||
if (!token || token.type !== 'html') return;
|
||||
|
||||
console.log('trimming', token.value);
|
||||
var rLeft = greedy ? /\s+$/g : /[\t\r ]*$/g;
|
||||
token.value = token.value.replace(rLeft, '');
|
||||
}
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "liquidjs",
|
||||
"version": "2.1.0",
|
||||
"version": "2.1.1",
|
||||
"description": "A Liquid template engine for Node.js and browsers, with all shopify/liquid features.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user