Skip to content

Commit 3b41d87

Browse files
committedFeb 25, 2014
Hash.from_native has been removed
1 parent 1814202 commit 3b41d87

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎opal/opal-jquery/element.rb

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
require 'native'
2+
13
%x{
24
var root = $opal.global, dom_class;
35
@@ -204,7 +206,7 @@ def visible?
204206
end
205207

206208
def offset
207-
Hash.from_native(`self.offset()`)
209+
Native(`self.offset()`)
208210
end
209211

210212
def each

0 commit comments

Comments
 (0)
Please sign in to comment.