MCPcopy Index your code
hub / github.com/tensorflow/tfjs-examples / createWindow

Function createWindow

electron/main.js:26–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24let mainWindow;
25
26function createWindow() {
27 mainWindow = new BrowserWindow({
28 height: 800,
29 width: 1200
30 });
31
32 mainWindow.loadFile('index.html');
33
34 mainWindow.on('closed', () => {
35 mainWindow = null;
36 });
37}
38
39app.on('ready', () => {
40 createWindow();

Callers 1

main.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected