Use the platform as the base interpreter instead of trying to extend it
This commit is contained in:
10 files changed
+65
-45
No files matched your search
@@ -19,7 +19,7 @@ pub mod minimal_bindings {
|
||||
/// Some useful snippets that we use to share common functionality between the different platforms we support.
|
||||
///
|
||||
/// This maintains some sort of consistency between web, desktop, and liveview
|
||||
#[wasm_bindgen(module = "/src/common_exported.js")]
|
||||
#[wasm_bindgen(module = "/src/js/web.js")]
|
||||
extern "C" {
|
||||
/// Set the attribute of the node
|
||||
pub fn setAttributeInner(node: JsValue, name: &str, value: JsValue, ns: Option<&str>);
|
||||
@@ -30,3 +30,6 @@ pub mod minimal_bindings {
|
||||
|
||||
#[cfg(feature = "sledgehammer")]
|
||||
pub mod unified_bindings;
|
||||
|
||||
#[cfg(feature = "sledgehammer")]
|
||||
pub use unified_bindings::*;
|
||||
Reference in new issue
Block a user