1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00

disable diagnostic hack

This commit is contained in:
Charles Lowell 2010-05-22 16:41:34 +03:00
parent 025fedcc23
commit 343ece83cf

View file

@ -196,9 +196,7 @@ void rr_init_template() {
}
Local<ObjectTemplate> Racer_Create_V8_ObjectTemplate(VALUE value) {
printf("legacy!!!\n");
rb_raise(rb_eScriptError, "wrapped legacy template");
Local<ObjectTemplate> tmpl = ObjectTemplate::New();
Local<ObjectTemplate> tmpl = ObjectTemplate::New();
// tmpl->SetInternalFieldCount(2);
tmpl->SetNamedPropertyHandler(
RacerRubyNamedPropertyGetter,