Only iterate through models once
This commit is contained in:
parent
72299f99a0
commit
50ad705c4e
1 changed files with 0 additions and 2 deletions
|
|
@ -87,9 +87,7 @@ for (const model of usedModels) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
|
||||||
|
|
||||||
for (const model of usedModels) {
|
|
||||||
const bgModel = 'bg' + model[0].toUpperCase() + model.slice(1);
|
const bgModel = 'bg' + model[0].toUpperCase() + model.slice(1);
|
||||||
styles[bgModel] = {
|
styles[bgModel] = {
|
||||||
get() {
|
get() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue