mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
remove some debug statements
This commit is contained in:
parent
1b85fd26d8
commit
23a8d77676
2 changed files with 6 additions and 2 deletions
|
@ -57,6 +57,10 @@ public:
|
||||||
return "undefined"; // this too
|
return "undefined"; // this too
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string pushObject(v8::Local<v8::Object>& foo) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -28,10 +28,10 @@ VALUE v8_Object_Set(VALUE self, VALUE key, VALUE value) {
|
||||||
|
|
||||||
VALUE valueClass = rb_class_of(value);
|
VALUE valueClass = rb_class_of(value);
|
||||||
if(valueClass == rb_cProc) {
|
if(valueClass == rb_cProc) {
|
||||||
printf("** This is a proc! We should do something different.\n");
|
//printf("** This is a proc! We should do something different.\n");
|
||||||
}
|
}
|
||||||
else if(valueClass == rb_cMethod) {
|
else if(valueClass == rb_cMethod) {
|
||||||
printf("** This is a method! We should do something different.\n");
|
//printf("** This is a method! We should do something different.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
obj->Set(RB2V8(keystr), RB2V8(value));
|
obj->Set(RB2V8(keystr), RB2V8(value));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue