remove multiple next()
This commit is contained in:
parent
129cc209b1
commit
4047c2833b
|
|
@ -207,7 +207,8 @@ function compose_tokens(tokens, set, coords) {
|
|||
|
||||
case 'psudo': {
|
||||
if (token.selector.startsWith(':doodle')) {
|
||||
token.selector = token.selector.replace(/^\:+doodle/, ':host');
|
||||
token.selector =
|
||||
token.selector.replace(/^\:+doodle/, ':host');
|
||||
}
|
||||
|
||||
let is_host_selector =
|
||||
|
|
@ -322,7 +323,6 @@ function read_property(it) {
|
|||
else if (!is.white_space(c)) prop += c;
|
||||
it.next();
|
||||
}
|
||||
it.next();
|
||||
return prop;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -67,7 +67,6 @@ function read_property(it) {
|
|||
else if (!is.white_space(c)) prop += c;
|
||||
it.next();
|
||||
}
|
||||
it.next();
|
||||
return prop;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue