Skip to content

Commit

Permalink
Hash.from_native has been removed
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Feb 25, 2014
1 parent 1814202 commit 3b41d87
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion opal/opal-jquery/element.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'native'

%x{
var root = $opal.global, dom_class;
Expand Down Expand Up @@ -204,7 +206,7 @@ def visible?
end

def offset
Hash.from_native(`self.offset()`)
Native(`self.offset()`)
end

def each
Expand Down

0 comments on commit 3b41d87

Please sign in to comment.