Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Nov 5, 2024

No description provided.

path = PATH_FS.resolve(path);

var canvas = /** @type {HTMLCanvasElement} */(preloadedImages[path]);
var canvas = /** @type {HTMLCanvasElement} */(Browser.preloadedImages[path]);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing dependency on $Browser?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All symbols in this file implicitly depend on $Browser thanks to the autoAddDeps(LibraryBrowser, '$Browser'); line at the bottom.

@sbc100 sbc100 enabled auto-merge (squash) November 5, 2024 23:01
@sbc100 sbc100 requested a review from brendandahl November 5, 2024 23:01
@sbc100 sbc100 disabled auto-merge November 5, 2024 23:46
@sbc100 sbc100 merged commit 014e11b into emscripten-core:main Nov 5, 2024
24 of 28 checks passed
@sbc100 sbc100 deleted the move_preloaded branch November 5, 2024 23:46
olilarkin added a commit to iPlug2/iPlug2 that referenced this pull request Dec 8, 2024
Since emscripten-core/emscripten#22855, preloadedImages is a property of the Browser global which must also now be explicitly included via DEFAULT_LIBRARY_FUNCS_TO_INCLUDE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants