Commit 60abc97
committed
Fix $global.$haxeUID being undefined in commonjs when compiling with Haxe 4
$global.$haxeUID |= 0 ensures that it's not undefined, but also won't change any numeric value > 0.
Perhaps an issue with hxgenjs?1 parent f27a381 commit 60abc97
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
22 | 29 | | |
23 | 30 | | |
24 | 31 | | |
| |||
0 commit comments