chore: remove console.logs
This commit is contained in:
parent
167e7ce1a4
commit
272a59d8d9
1 changed files with 0 additions and 5 deletions
|
@ -227,7 +227,6 @@ function evaluateServerScript(html) {
|
|||
let [key, rawValue] = match
|
||||
|
||||
const value = rawValue.replace(/\s/g, '')
|
||||
console.log('>>> value', rawValue)
|
||||
const keys = value.split('.')
|
||||
let finalValue = ''
|
||||
let setupCopy = setupMap
|
||||
|
@ -235,7 +234,6 @@ function evaluateServerScript(html) {
|
|||
// if not in the server script, it could be a js expression
|
||||
if (!(keys[0] in setupMap)) {
|
||||
try {
|
||||
console.log('>>> trying to evaluate', rawValue)
|
||||
finalValue = eval(rawValue)
|
||||
} catch (e) {
|
||||
console.error('ERR! Failed to evaluate expression', e)
|
||||
|
@ -254,9 +252,6 @@ function evaluateServerScript(html) {
|
|||
regex.lastIndex = -1
|
||||
}
|
||||
|
||||
console.log('setupMap', setupMap)
|
||||
console.log('________')
|
||||
|
||||
return html
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue