From 8dd44f66cab02b64648272bd4cc091e7dd4f5f96 Mon Sep 17 00:00:00 2001 From: Felix Rieseberg Date: Mon, 19 Feb 2018 17:28:24 -0600 Subject: [PATCH] :memo: Some consistency --- docs/tutorial/application-architecture.md | 4 ++-- docs/tutorial/progress-bar.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/tutorial/application-architecture.md b/docs/tutorial/application-architecture.md index 209f2c834e0e..31c8c24e7f63 100644 --- a/docs/tutorial/application-architecture.md +++ b/docs/tutorial/application-architecture.md @@ -67,7 +67,7 @@ class. It is only available in the main process. // renderer process: const { BrowserWindow } = require('electron') -const myWindow = new BrowserWindow() +const win = new BrowserWindow() ``` Since communication between the processes is possible, a renderer process @@ -82,7 +82,7 @@ we'd use the remote as a middle-man: const { remote } = require('electron') const { BrowserWindow } = remote -const myWindow = new BrowserWindow() +const win = new BrowserWindow() ``` ## Using Node.js APIs diff --git a/docs/tutorial/progress-bar.md b/docs/tutorial/progress-bar.md index b2e447b5f266..6922b3464fbe 100644 --- a/docs/tutorial/progress-bar.md +++ b/docs/tutorial/progress-bar.md @@ -26,7 +26,7 @@ See the [API documentation for more options and modes][setprogressbar]. ```javascript const { BrowserWindow } = require('electron') -const myWindow = new BrowserWindow() +const win = new BrowserWindow() win.setProgressBar(0.5) ```