Created
December 10, 2012 14:07
-
-
Save jedi4ever/4250746 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Handle<Value> params[2] = { | |
String::New("child"), // event name | |
String::New("somevalue") // event name | |
}; | |
v8::Local<v8::Object> ctx = Context::GetCurrent()->Global(); | |
MakeCallback(ctx, "emit", 2, params); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
term.on('child', function (err) { | |
console.log(err); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Non-function in MakeCallback. method = emit | |
Abort trap: 6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Any findings on this? I just googled for the same output and found this. Would appreciate it if you ever resolved.