🐛 Support strict mode on Tutorial
[ci skip]
This commit is contained in:
parent
063231cf0c
commit
e729104d00
1 changed files with 2 additions and 0 deletions
|
@ -78,6 +78,8 @@ The `main.js` should create windows and handle system events, a typical
|
||||||
example being:
|
example being:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
|
'use strict';
|
||||||
|
|
||||||
const electron = require('electron');
|
const electron = require('electron');
|
||||||
const app = electron.app; // Module to control application life.
|
const app = electron.app; // Module to control application life.
|
||||||
const BrowserWindow = electron.BrowserWindow; // Module to create native browser window.
|
const BrowserWindow = electron.BrowserWindow; // Module to create native browser window.
|
||||||
|
|
Loading…
Reference in a new issue