📝 Mention atom-shell's changes to the process object.

This commit is contained in:
Cheng Zhao 2014-05-23 22:56:56 +08:00
parent 23d2dc5007
commit 542e795fe0
2 changed files with 9 additions and 0 deletions

View file

@ -7,6 +7,7 @@
## API references
* [Synopsis](api/synopsis.md)
* [Process object](api/process.md)
Modules for browser side:

8
docs/api/process.md Normal file
View file

@ -0,0 +1,8 @@
# Process object
The `process` object in atom-shell has following differences between the one in
upstream node:
* `process.type` String - Process's type, can be `browser` or `renderer`.
* `process.versions['atom-shell']` String - Version of atom-shell.
* `process.resourcesPath` String - Path to JavaScript source codes.