mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
we can use the non-template syntax.
This commit is contained in:
parent
70eeb1311d
commit
0e4d10e972
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ namespace {
|
|||
|
||||
VALUE New(VALUE klass, VALUE source, VALUE filename) {
|
||||
v8::HandleScope scope;
|
||||
return Ref<v8::Script>::create(v8::Script::New(String(source), Value(filename)), klass);
|
||||
return Script::create(v8::Script::New(String(source), Value(filename)), klass);
|
||||
}
|
||||
|
||||
VALUE Run(VALUE self) {
|
||||
|
|
Loading…
Reference in a new issue