mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
create a bare function
This commit is contained in:
parent
fc4d0ce3bf
commit
085e31b20c
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
class V8::Function < V8::Object
|
||||
def initialize(native = nil)
|
||||
super do
|
||||
native || V8::C::Function::New()
|
||||
native || V8::C::FunctionTemplate::New().GetFunction()
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue