File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
docs/architecture/implementations Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 22
33External code can use ` window.guardian.commercial.queue ` to run functions after commercial initialisation.
44
5- Initialisation means all the modules as part of the ` bootCommercial ` function have been resolved.
5+ Initialisation means all the modules as part of the ` bootCommercial ` function have been resolved.
66
77## Code Locations
88
@@ -17,8 +17,9 @@ Initialisation means all the modules as part of the `bootCommercial` function h
1717** After flush:** Functions execute immediately when pushed
1818
1919### Usage
20+
2021``` javascript
2122window .guardian .commercial .queue .push (() => {
22- // Your code here - runs after commercial loads
23+ // Your code here - runs after commercial loads
2324});
24-
25+ ```
You can’t perform that action at this time.
0 commit comments