]> khamidou — GitHub mirrors - electron.git/commitdiff
:memo: Mention atom-shell's changes to the process object.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 23 May 2014 14:56:56 +0000 (22:56 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 23 May 2014 14:56:56 +0000 (22:56 +0800)
docs/README.md
docs/api/process.md [new file with mode: 0644]

index 99ad1a5f2a226940d07cff597ddc44f47593bba6..82ab7c5228b8098137b4847e3b0c41e6218f4546 100644 (file)
@@ -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 (file)
index 0000000..31fb95c
--- /dev/null
@@ -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.