Skip to content

Commit ecc07d2

Browse files
committedFeb 2, 2014
dom/element: no need to #map in #css anymore
1 parent 117e654 commit ecc07d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎opal/browser/dom/element.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def css(path)
266266
end
267267
elsif Browser.loaded? 'Sizzle'
268268
def css(path)
269-
NodeSet[`Sizzle(path, #@native)`.map { |x| Native(x) }]
269+
NodeSet[`Sizzle(path, #@native)`]
270270
rescue
271271
NodeSet[]
272272
end

0 commit comments

Comments
 (0)
Please sign in to comment.