[oden] Remove native assets module

What's the point?
This commit is contained in:
John Doty 2023-06-30 06:31:01 -07:00
parent f3f9988314
commit 96e95e22ce
3 changed files with 1 additions and 66 deletions

View file

@ -12,8 +12,7 @@ use graphics::GraphicsCommand;
mod typescript;
use typescript::transpile_to_javascript;
pub mod assets;
pub mod io;
mod io;
struct Loader {}
@ -45,7 +44,6 @@ pub struct ScriptContext {
draw: Value,
gfx: graphics::GraphicsAPI,
_assets: assets::AssetsAPI,
gfx_receive: Receiver<graphics::GraphicsCommand>,
}
@ -62,8 +60,6 @@ impl ScriptContext {
let gfx = graphics::GraphicsAPI::define(&context, gfx_send.clone())
.expect("Graphics module should load without error");
let assets = assets::AssetsAPI::define(&context, gfx_send.clone())
.expect("Assets module should load without error");
let _io = io::IoAPI::define(&context).expect("IO module should load without error");
let module = context
@ -89,8 +85,6 @@ impl ScriptContext {
gfx,
gfx_receive,
_assets: assets,
}
}