bump sledgehammer
This commit is contained in:
1 parent
ca83d6bc82
commit
bb8341241d
2 files changed
+4
-4
No files matched your search
@@ -14,7 +14,7 @@ keywords = ["dom", "ui", "gui", "react", "wasm"]
|
|||||||
wasm-bindgen = { workspace = true, optional = true }
|
wasm-bindgen = { workspace = true, optional = true }
|
||||||
js-sys = { version = "0.3.56", optional = true }
|
js-sys = { version = "0.3.56", optional = true }
|
||||||
web-sys = { version = "0.3.56", optional = true, features = ["Element", "Node"] }
|
web-sys = { version = "0.3.56", optional = true, features = ["Element", "Node"] }
|
||||||
sledgehammer_bindgen = { versio = "0.3.0", default-features = false, optional = true }
|
sledgehammer_bindgen = { versio = "0.3.1", default-features = false, optional = true }
|
||||||
sledgehammer_utils = { version = "0.2", optional = true }
|
sledgehammer_utils = { version = "0.2", optional = true }
|
||||||
serde = { version = "1.0", features = ["derive"], optional = true }
|
serde = { version = "1.0", features = ["derive"], optional = true }
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ pub const SLEDGEHAMMER_JS: &str = GENERATED_JS;
|
|||||||
#[cfg(feature = "web")]
|
#[cfg(feature = "web")]
|
||||||
#[bindgen(module)]
|
#[bindgen(module)]
|
||||||
mod js {
|
mod js {
|
||||||
const JS_FILE: &str = "./packages/interpreter/src/common.js";
|
const JS_FILE: &str = "./src/common.js";
|
||||||
const JS: &str = r#"
|
const JS: &str = r#"
|
||||||
class ListenerMap {
|
class ListenerMap {
|
||||||
constructor(root) {
|
constructor(root) {
|
||||||
@@ -260,8 +260,8 @@ pub mod binary_protocol {
|
|||||||
|
|
||||||
#[bindgen]
|
#[bindgen]
|
||||||
mod protocol_js {
|
mod protocol_js {
|
||||||
const JS_FILE: &str = "./packages/interpreter/src/interpreter.js";
|
const JS_FILE: &str = "./src/interpreter.js";
|
||||||
const JS_FILE: &str = "./packages/interpreter/src/common.js";
|
const JS_FILE: &str = "./src/common.js";
|
||||||
|
|
||||||
fn mount_to_root() {
|
fn mount_to_root() {
|
||||||
"{AppendChildren(root, stack.length-1);}"
|
"{AppendChildren(root, stack.length-1);}"
|
||||||
|
|||||||
Reference in new issue
Block a user