From: Cheng Zhao Date: Fri, 23 May 2014 14:56:56 +0000 (+0800) Subject: :memo: Mention atom-shell's changes to the process object. X-Git-Tag: v0.12.6~7^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=542e795fe0b5f6ac8cc79ece4e639be57150f97f;p=electron.git :memo: Mention atom-shell's changes to the process object. --- diff --git a/docs/README.md b/docs/README.md index 99ad1a5f..82ab7c52 100644 --- a/docs/README.md +++ b/docs/README.md @@ -7,6 +7,7 @@ ## API references * [Synopsis](api/synopsis.md) +* [Process object](api/process.md) Modules for browser side: diff --git a/docs/api/process.md b/docs/api/process.md new file mode 100644 index 00000000..31fb95ce --- /dev/null +++ b/docs/api/process.md @@ -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.