]> khamidou — GitHub mirrors - electron.git/commitdiff
:bug: Support strict mode on Tutorial
authorHashed Hyphen <hashedhyphen@gmail.com>
Tue, 15 Dec 2015 15:52:14 +0000 (00:52 +0900)
committerHashed Hyphen <hashedhyphen@gmail.com>
Tue, 15 Dec 2015 15:52:14 +0000 (00:52 +0900)
[ci skip]

docs/tutorial/quick-start.md

index 4c61413436dd996d347f9a53a16bbea66b85f7d9..bc1a0f69e353d2d2246ff22bdff2894351b0906d 100644 (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.