MCPcopy Create free account
hub / github.com/baumgarr/nixnote2 / exposeToJavascript

Method exposeToJavascript

gui/nbrowserwindow.cpp:2273–2275  ·  view source on GitHub ↗

Expose the programs to the javascript process

Source from the content-addressed store, hash-verified

2271
2272// Expose the programs to the javascript process
2273void NBrowserWindow::exposeToJavascript() {
2274 editor->page()->mainFrame()->addToJavaScriptWindowObject("browserWindow", this);
2275}
2276
2277
2278

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected