Merge pull request #3822 from hashedhyphen/support-strict-mode

🐛 Support strict mode on Tutorial
This commit is contained in:
Cheng Zhao 2015-12-16 11:13:26 +08:00
commit bc33b4e594

View file

@ -78,6 +78,8 @@ The `main.js` should create windows and handle system events, a typical
example being:
```javascript
'use strict';
const electron = require('electron');
const app = electron.app; // Module to control application life.
const BrowserWindow = electron.BrowserWindow; // Module to create native browser window.