From: Hashed Hyphen Date: Tue, 15 Dec 2015 15:52:14 +0000 (+0900) Subject: :bug: Support strict mode on Tutorial X-Git-Tag: v0.36.1~16^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=e729104d0087fcb27dda7a6a5a8632b8a9a8d9b0;p=electron.git :bug: Support strict mode on Tutorial [ci skip] --- diff --git a/docs/tutorial/quick-start.md b/docs/tutorial/quick-start.md index 4c614134..bc1a0f69 100644 --- a/docs/tutorial/quick-start.md +++ b/docs/tutorial/quick-start.md @@ -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.