1
0
Fork 0
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:
Charles Lowell 2012-05-03 00:31:23 -07:00
parent 70eeb1311d
commit 0e4d10e972

View file

@ -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) {