lib/opal/native.rb in opal-native-0.0.4 vs lib/opal/native.rb in opal-native-0.0.4.1
- old
+ new
@@ -239,10 +239,10 @@
%x{
var self = this;
return (function () {
return self.apply(self.$S, [null].concat(#{
- `$slice.call(arguments)`.map { |o| Kernel.Native(o) }
+ `$slice.call(arguments, 0)`.map { |o| Kernel.Native(o) }
}));
});
}
end
end