style(player/css-resolver): no unnecessary symbols

This commit is contained in:
Alex Kaminskii 2022-08-23 16:34:51 +02:00
parent 0445d2d9bc
commit 368877c0f4

View file

@ -26,10 +26,9 @@ function cssUrlsIndex(css: string): Array<[number, number]> {
const e = s + m[1].length;
idxs.push([s, e])
}
return idxs.reverse();
return idxs.reverse()
}
function unquote(str: string): [string, string] {
str = str ? str.trim() : '';
if (str.length <= 2) {
return [str, ""]
}