This commit is contained in:
harttle
2017-12-08 00:29:09 +08:00
parent b24582c2c4
commit fb79be0974
3 changed files with 2 additions and 4 deletions
-2
View File
@@ -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, '');
}
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -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": {