mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
test:1
This commit is contained in:
parent
dc7fef6395
commit
0cf53c091a
@ -91,13 +91,13 @@ while((match = ruleRegex.exec(colorsFile)) !== null) {
|
|||||||
const colorCSS = []
|
const colorCSS = []
|
||||||
const nonColorCSS = [];
|
const nonColorCSS = [];
|
||||||
|
|
||||||
let inKeyFrameBlock = false;
|
let s = false;
|
||||||
|
|
||||||
lines.forEach(l => {
|
lines.forEach(l => {
|
||||||
if (inKeyFrameBlock) {
|
if (s) {
|
||||||
nonColorCSS.push(l);
|
nonColorCSS.push(l);
|
||||||
if (/^}/.test(l)) {
|
if (/^}/.test(l)) {
|
||||||
inKeyFrameBlock = false;
|
s = false;
|
||||||
}
|
}
|
||||||
} else if (/^@keyframes/.test(l)) {
|
} else if (/^@keyframes/.test(l)) {
|
||||||
nonColorCSS.push(l);
|
nonColorCSS.push(l);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user