[nwjs/nw.js] ba43ea: docs: fix evalNWBinModule example to use dynamic import (#8344)

0 views
Skip to first unread message

commits...@nwjs.io

unread,
Apr 22, 2026, 4:54:47 PM (4 days ago) Apr 22
to node-we...@googlegroups.com, ro...@nwjs.io
Branch: refs/heads/main
Home: https://api.github.com/repos/nwjs/nw.js
Commit: ba43ea884ad7dd564765e996a92b7565a8a44f63
https://github.com/nwjs/nw.js/commit/ba43ea884ad7dd564765e996a92b7565a8a44f63
Author: Kevin Fan <k...@gnor.net>
Date: 2026-04-22 14:54:26 -0600 -0600

Changed paths:
M docs/References/Window.md

Log Message:
-----------
docs: fix evalNWBinModule example to use dynamic import (#8344)

Static import statements are resolved at parse time before any code
executes, so evalNWBinModule hasn't registered the module yet. Use
dynamic import() instead.


Reply all
Reply to author
Forward
0 new messages