Area restrita - Questionario

This commit is contained in:
2026-06-08 23:50:59 -03:00
parent f2e2400637
commit ef968f10ae
6972 changed files with 23454 additions and 2267883 deletions
-4
View File
@@ -36,7 +36,6 @@ module.exports = function tokenizer(input, options = {}) {
let pos = 0
let buffer = []
let returned = []
let lastBadParen = -1
function position() {
return pos
@@ -128,14 +127,11 @@ module.exports = function tokenizer(input, options = {}) {
currentToken = ['brackets', css.slice(pos, next + 1), pos, next]
pos = next
} else if (pos <= lastBadParen) {
currentToken = ['(', '(', pos]
} else {
next = css.indexOf(')', pos + 1)
content = css.slice(pos, next + 1)
if (next === -1 || RE_BAD_BRACKET.test(content)) {
lastBadParen = next === -1 ? length : next
currentToken = ['(', '(', pos]
} else {
currentToken = ['brackets', content, pos, next]