File tree 2 files changed +3
-7
lines changed
2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export class Mini {
33
33
this . _initEntities ( )
34
34
this . _initializeGlobalVariables ( )
35
35
Events . applyEvents ( )
36
- await this . state . evaluate ( )
36
+ this . state . evaluate ( )
37
37
this . observer . init ( )
38
38
const endTime = performance . now ( )
39
39
const executionTime = endTime - startTime
Original file line number Diff line number Diff line change @@ -206,15 +206,11 @@ export class State {
206
206
this . attachVariableHelpers ( [ varName ] , entityID )
207
207
}
208
208
209
- async evaluate ( ) {
210
- const promises = [ ]
211
-
209
+ evaluate ( ) {
212
210
Array . from ( this . entities . values ( ) ) . forEach ( ( entity ) => {
213
- promises . push ( entity . attributes . evaluate ( ) )
211
+ entity . attributes . evaluate ( )
214
212
} )
215
213
216
- await Promise . all ( promises )
217
-
218
214
this . attachVariableHelpers ( Array . from ( this . variables . keys ( ) ) )
219
215
this . shouldUpdate = true
220
216
}
You can’t perform that action at this time.
0 commit comments