Fix a broken link
The reference-style link uses a relative path, which doesn't work well on the main site http://electron.atom.io/.
This commit is contained in:
		
					parent
					
						
							
								7842a657d0
							
						
					
				
			
			
				commit
				
					
						b4aaaed843
					
				
			
		
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -11,7 +11,7 @@ both processes.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The basic rule is: if a module is [GUI][gui] or low-level system related, then
 | 
					The basic rule is: if a module is [GUI][gui] or low-level system related, then
 | 
				
			||||||
it should be only available in the main process. You need to be familiar with
 | 
					it should be only available in the main process. You need to be familiar with
 | 
				
			||||||
the concept of [main process vs. renderer process][main-process] scripts to be
 | 
					the concept of [main process vs. renderer process](../tutorial/quick-start.md#the-main-process) scripts to be
 | 
				
			||||||
able to use those modules.
 | 
					able to use those modules.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The main process script is just like a normal Node.js script:
 | 
					The main process script is just like a normal Node.js script:
 | 
				
			||||||
| 
						 | 
					@ -79,6 +79,5 @@ require('electron').hideInternalModules()
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[gui]: https://en.wikipedia.org/wiki/Graphical_user_interface
 | 
					[gui]: https://en.wikipedia.org/wiki/Graphical_user_interface
 | 
				
			||||||
[main-process]: ../tutorial/quick-start.md#the-main-process
 | 
					 | 
				
			||||||
[desctructuring-assignment]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment
 | 
					[desctructuring-assignment]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment
 | 
				
			||||||
[issue-387]: https://github.com/atom/electron/issues/387
 | 
					[issue-387]: https://github.com/atom/electron/issues/387
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue