Commit af0e683
Fix ESM import compatibility using globalThis (#112)
* Initial plan
* Fix ESM import compatibility by using window.cv instead of root.cv
Co-authored-by: ttt43ttt <132509+ttt43ttt@users.noreply.github.com>
* Use globalThis instead of this for universal ESM compatibility
Co-authored-by: ttt43ttt <132509+ttt43ttt@users.noreply.github.com>
* Revert package-lock.json changes and update opencv.js.patch
Co-authored-by: ttt43ttt <132509+ttt43ttt@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ttt43ttt <132509+ttt43ttt@users.noreply.github.com>1 parent fe77e0b commit af0e683
2 files changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
6 | 15 | | |
7 | 16 | | |
8 | 17 | | |
| |||
0 commit comments