Only iterate through models once (#421)
This commit is contained in:
parent
72299f99a0
commit
02abeebac3
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);
|
||||
styles[bgModel] = {
|
||||
get() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue