src: pass Isolate to all applicable api

Update the api to pass node_isolate to all supported methods.

Much thanks to Ben Noordhuis and his work in 51f6e6a.
This commit is contained in:
Trevor Norris
2013-03-19 14:55:05 -07:00
committed by Ben Noordhuis
parent da4d79ac47
commit f65e14ed1d
26 changed files with 782 additions and 764 deletions

View File

@@ -37,7 +37,7 @@ Handle<String> MainSource() {
}
void DefineJavaScript(v8::Handle<v8::Object> target) {
HandleScope scope;
HandleScope scope(node_isolate);
for (int i = 0; natives[i].name; i++) {
if (natives[i].source != node_native) {