mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
the dontintercept block is not getting passed
This commit is contained in:
parent
0f691539e8
commit
3527ac7462
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ class V8::Access
|
||||||
module Indices
|
module Indices
|
||||||
|
|
||||||
def indices(obj)
|
def indices(obj)
|
||||||
obj.respond_to?(:length) ? (0..obj.length).to_a : yield
|
obj.respond_to?(:length) ? (0..obj.length).to_a : []
|
||||||
end
|
end
|
||||||
|
|
||||||
def iget(obj, index, &dontintercept)
|
def iget(obj, index, &dontintercept)
|
||||||
|
|
Loading…
Add table
Reference in a new issue