]> khamidou — GitHub mirrors - electron.git/commitdiff
Minor grammatical fixes
authorBhargav Patel <ziikutv@gmail.com>
Fri, 24 Apr 2015 00:12:04 +0000 (20:12 -0400)
committerBhargav Patel <ziikutv@gmail.com>
Fri, 24 Apr 2015 00:12:04 +0000 (20:12 -0400)
Fixed some run-on sentances and changed structor of some.

docs/tutorial/quick-start.md

index e4c5b347204623a00dae3f943e5a04128d37e08f..d9f6504eb1fa9dcfda5d77987f71ddd1ae170063 100644 (file)
@@ -2,41 +2,35 @@
 
 ## Introduction
 
-Generally, Electron enables you to create desktop applications with pure
-JavaScript by providing a runtime with rich native APIs. You could see it as
-a variant of the io.js runtime which is focused on desktop applications
-instead of web servers.
+Electron enables you to create desktop applications with pure JavaScript by providing a runtime with rich native APIs. You could see it as a variant of the io.js runtime which is focused on desktop applications instead of web servers.
 
 It doesn't mean Electron is a JavaScript binding to GUI libraries. Instead,
 Electron uses web pages as its GUI, so you could also see it as a minimal
 Chromium browser, controlled by JavaScript.
 
-### The main process
+### Main process
 
-In Electron the process that runs `package.json`'s `main` script is called
-__the main process__. The script runs in the main process can display GUI by
+In Electron, the process that runs `package.json`'s `main` script is called
+__the main process__. The script that runs in the main process, can display GUI by
 creating web pages.
 
-### The renderer process
+### Renderer process
 
 Since Electron uses Chromium for displaying web pages, Chromium's
 multi-processes architecture is also used. Each web page in Electron runs in
 its own process, which is called __the renderer process__.
 
 In normal browsers web pages usually run in a sandboxed environment and are not
-allowed access to native resources. In Electron users have the power to use
-io.js APIs in web pages and it is therefore possible to interact with low level
-operating system features.
+allowed access to native resources. Electron users however, have the power to use
+io.js APIs in web pages allowing lower level operating system interactions.
 
 ### Differences between main process and renderer process
 
-The main process creates web pages by creating `BrowserWindow` instances, and
-each `BrowserWindow` instance runs the web page in its own renderer process,
-when a `BrowserWindow` instance is destroyed, the corresponding renderer process
+The main process creates web pages by creating `BrowserWindow` instances. Each `BrowserWindow` instance runs the web page in its own renderer process. When a `BrowserWindow` instance is destroyed, the corresponding renderer process
 would also be terminated.
 
-So the main process manages all web pages and their corresponding renderer
-processes, and each renderer process is separated from each other and only care
+The main process manages all web pages and their corresponding renderer
+processes, each renderer process is isolated and only cares
 about the web page running in it.
 
 In web pages, it is not allowed to call native GUI related APIs because managing