aboutsummaryrefslogtreecommitdiff
path: root/examples3d
diff options
context:
space:
mode:
Diffstat (limited to 'examples3d')
-rw-r--r--examples3d/all_examples3_wasm.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples3d/all_examples3_wasm.rs b/examples3d/all_examples3_wasm.rs
index a9e1456..6b70c38 100644
--- a/examples3d/all_examples3_wasm.rs
+++ b/examples3d/all_examples3_wasm.rs
@@ -51,7 +51,7 @@ fn demo_name_from_command_line() -> Option<String> {
None
}
-#[cfg(any(target_arch = "wasm32", target_arch = "asmjs"))]
+#[cfg(target_arch = "wasm32")]
fn demo_name_from_url() -> Option<String> {
None
// let window = stdweb::web::window();
@@ -63,7 +63,7 @@ fn demo_name_from_url() -> Option<String> {
// }
}
-#[cfg(not(any(target_arch = "wasm32", target_arch = "asmjs")))]
+#[cfg(not(target_arch = "wasm32"))]
fn demo_name_from_url() -> Option<String> {
None
}