mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
always return the same proc for a given function
This commit is contained in:
parent
b473e083ba
commit
2fac2cdb5f
1 changed files with 3 additions and 1 deletions
|
@ -3,7 +3,9 @@ class V8::Conversion
|
||||||
include V8::Util::Weakcell
|
include V8::Util::Weakcell
|
||||||
|
|
||||||
def to_v8
|
def to_v8
|
||||||
return to_v8_template.GetFunction()
|
fn = to_v8_template.GetFunction()
|
||||||
|
V8::Context.link self, fn
|
||||||
|
return fn
|
||||||
end
|
end
|
||||||
|
|
||||||
def to_v8_template
|
def to_v8_template
|
||||||
|
|
Loading…
Add table
Reference in a new issue