mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 18:20:51 +00:00
remove array check
This commit is contained in:
parent
7fe76061af
commit
867b13b65e
@ -299,18 +299,6 @@ impl<'a> Context<'a> {
|
||||
))
|
||||
})?;
|
||||
|
||||
self.bind("__wbindgen_is_array", &|me| {
|
||||
me.expose_get_object();
|
||||
Ok(String::from(
|
||||
"
|
||||
function(i) {
|
||||
const val = getObject(i);
|
||||
return Array.isArray(val) ? 1 : 0;
|
||||
}
|
||||
",
|
||||
))
|
||||
})?;
|
||||
|
||||
self.bind("__wbindgen_is_function", &|me| {
|
||||
me.expose_get_object();
|
||||
Ok(String::from(
|
||||
|
Loading…
x
Reference in New Issue
Block a user