Doc: Grammatical fixes to synopsys.md

This commit is contained in:
Greg Mefford 2014-05-09 21:17:10 -04:00
parent d9e1861aff
commit 9e0b1b864b

View file

@ -4,15 +4,15 @@ All [node.js's built-in modules](http://nodejs.org/api/) are available in
atom-shell, and third-party node modules are fully supported too (including the atom-shell, and third-party node modules are fully supported too (including the
[native modules](../tutorial/use-native-node-modules.md)). [native modules](../tutorial/use-native-node-modules.md)).
And atom-shell also provided some extra built-in modules for developing native Atom-shell also provides some extra built-in modules for developing native
desktop applications, some modules are only available on browser side, and some desktop applications. Some modules are only available on the browser side, some
are only available on renderer side, and some can be used by both sides. The are only available on the client (renderer) side, and some can be used on both sides.
basic rule is: if a module is GUI or low level system related, then it should The basic rule is: if a module is GUI or low-level system related, then it should
be only available on browser side. You need to be familiar with the concept of be only available on the browser side. You need to be familiar with the concept of
[browser side](../tutorial/quick-start.md#the-browser-side) to be able to use [browser-side vs. client-side](../tutorial/quick-start.md#the-browser-side) scripts
those modules. to be able to use those modules.
The browser side script is just like a normal `node.js` script: The browser-side script is just like a normal `node.js` script:
```javascript ```javascript
var app = require('app'); var app = require('app');
@ -27,7 +27,7 @@ app.on('ready', function() {
``` ```
And the web page is no different to a normal web page, except for the extra The web page is no different than a normal web page, except for the extra
ability to use node modules: ability to use node modules:
```html ```html