lib/opal/native.rb in opal-native-0.0.1.1 vs lib/opal/native.rb in opal-native-0.0.1.2
- old
+ new
@@ -51,10 +51,10 @@
end
def native_send (name, *args)
return method_missing(name, *args) unless Opal.function? `#@native[name]`
- `#@native[$opal.mid_to_jsid(name)].apply(#@native, args)`
+ `#@native[name].apply(#@native, args)`
end
alias_method :__native_send__, :native_send
end