diff options
Diffstat (limited to 'boot.js')
-rw-r--r-- | boot.js | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -121,6 +121,13 @@ async function load() { setVolume(audio, vol) { audio.volume = vol; } + }, + image: { + new(src) { + const img = new Image(); + img.src = src; + return img; + } } }); const scheme = await mod.reflect(); |