From 3bec2260bb79800c854f9fd6a2adc094625b8145 Mon Sep 17 00:00:00 2001 From: coolreader18 <33094578+coolreader18@users.noreply.github.com> Date: Mon, 4 Feb 2019 18:58:53 -0600 Subject: [PATCH] Rename VMStore --- wasm/lib/src/vm_class.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wasm/lib/src/vm_class.rs b/wasm/lib/src/vm_class.rs index be732d843..90916396f 100644 --- a/wasm/lib/src/vm_class.rs +++ b/wasm/lib/src/vm_class.rs @@ -9,10 +9,10 @@ thread_local! { static STORED_VMS: RefCell> = RefCell::default(); } -#[wasm_bindgen(js_name = vms)] +#[wasm_bindgen(js_name = vmStore)] pub struct VMStore; -#[wasm_bindgen(js_class = vms)] +#[wasm_bindgen(js_class = vmStore)] impl VMStore { pub fn init(id: String) -> WASMVirtualMachine { STORED_VMS.with(|cell| {