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