remove array check

This commit is contained in:
Richard Dodd (dodj) 2019-01-17 21:07:23 +00:00 committed by GitHub
parent 7fe76061af
commit 867b13b65e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(