1
0
Fork 0
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:
Charles Lowell 2012-06-12 07:27:28 -05:00
parent b473e083ba
commit 2fac2cdb5f

View file

@ -3,7 +3,9 @@ class V8::Conversion
include V8::Util::Weakcell
def to_v8
return to_v8_template.GetFunction()
fn = to_v8_template.GetFunction()
V8::Context.link self, fn
return fn
end
def to_v8_template