mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-20 15:00:42 -07:00
remove debug message, working on #50
This commit is contained in:
@@ -163,7 +163,6 @@ var formatCodes = {
|
|||||||
},
|
},
|
||||||
z: function (d) {
|
z: function (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 () {
|
||||||
|
|||||||
@@ -33,7 +33,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, '')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user