mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
use new syntax for creating script refs
This commit is contained in:
parent
14edf2b0ff
commit
42eb72bbc0
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ namespace {
|
|||
VALUE Compile(VALUE self, VALUE source, VALUE source_name) {
|
||||
Local<String> src(rr_rb2v8(source)->ToString());
|
||||
Local<String> src_name(rr_rb2v8(source_name)->ToString());
|
||||
return V8_Ref_Create(self, Script::Compile(src, src_name));
|
||||
return rr_v8_ref_create(self, Script::Compile(src, src_name));
|
||||
}
|
||||
|
||||
VALUE Run(VALUE self) {
|
||||
|
|
Loading…
Add table
Reference in a new issue