Browse Source

done new logic

feature/conditions
dslak 3 years ago
parent
commit
7c6783a2a3
  1. 4
      index.js

4
index.js

@ -55,8 +55,6 @@ exports.compile = (template, input) => {
break
}
console.log(index, nextClose)
if(nextClose == index || nextClose == -1) {
index = template.length
} else {
@ -80,7 +78,7 @@ exports.compile = (template, input) => {
}
})
return tags
return template
}

Loading…
Cancel
Save