Thanks, Hank Liang,
I know there three articles.
But I mean where I can learn how to use js binding method?
ns = JS_NewObject(cx, NULL, NULL, NULL);
When I need to use JS_NewObject?
JS_SetProperty(cx, obj, "ts",&nsval);
What is JS_SetProperty mean?
and so on…
Although we can use binding-generator to generate JS binding code,
But sometime We need to modify code for our demand,
how can I learn?