Commit 5522037
Read global element variable at creation time of the promise,… (#1566)
* Read global element variable at creation time of the promise, not during resolve.
At resolve time, the global variable might already have changed.
* Restore original formatting to be able to track what was changed
---------
Co-authored-by: AU <[email protected]>1 parent 3837cc5 commit 5522037
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
134 | 136 | | |
135 | 137 | | |
136 | 138 | | |
| |||
148 | 150 | | |
149 | 151 | | |
150 | 152 | | |
151 | | - | |
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
155 | 159 | | |
156 | 160 | | |
157 | 161 | | |
| |||
0 commit comments