File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
12
12
### Added
13
13
14
14
- Better shutdown for ` qbx_core ` .
15
+ - Preview in regular browsers.
15
16
16
17
### Fixed
17
18
Original file line number Diff line number Diff line change @@ -169,3 +169,26 @@ const handlers = {
169
169
window . addEventListener ( "message" , ( { data } ) =>
170
170
handlers [ data . eventName ] ?. ( data )
171
171
) ;
172
+
173
+ if ( ! window . invokeNative ) {
174
+ postMessage ( { eventName : "loadProgress" , loadFraction : 0.65 } ) ;
175
+ postMessage ( { eventName : "startDataFileEntries" , count : 100 } ) ;
176
+ postMessage ( {
177
+ eventName : "startInitFunctionOrder" ,
178
+ type : "TEST_FUNCTION" ,
179
+ order : 1 ,
180
+ count : 1 ,
181
+ } ) ;
182
+ postMessage ( {
183
+ eventName : "initFunctionInvoking" ,
184
+ name : "helloWorld" ,
185
+ idx : 0.65 ,
186
+ } ) ;
187
+ postMessage ( {
188
+ eventName : "performMapLoadFunction" ,
189
+ idx : 65 ,
190
+ } ) ;
191
+ loadscreenWrapperMain . style . display = "" ;
192
+ loadscreenWrapperMain . style . opacity = 1 ;
193
+ postMessage ( { eventName : "onLogLine" , message : "Awaiting scripts" } ) ;
194
+ }
You can’t perform that action at this time.
0 commit comments