Add variables to options example
This commit is contained in:
		
					parent
					
						
							
								d1876aa313
							
						
					
				
			
			
				commit
				
					
						ae933140af
					
				
			
		
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
					@ -9,9 +9,11 @@ warnings will be added at least 90 days beforehand.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```js
 | 
					```js
 | 
				
			||||||
// Deprecated
 | 
					// Deprecated
 | 
				
			||||||
new BrowserWindow({webPreferences: {blinkFeatures: ''}})
 | 
					let optionsA = {webPreferences: {blinkFeatures: ''}}
 | 
				
			||||||
 | 
					let windowA = new BrowserWindow(optionsA)
 | 
				
			||||||
// Replace with
 | 
					// Replace with
 | 
				
			||||||
new BrowserWindow({webPreferences: {enableBlinkFeatures: ''}})
 | 
					let optionsB = {webPreferences: {enableBlinkFeatures: ''}}
 | 
				
			||||||
 | 
					let windowB = new BrowserWindow(optionsB)
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## `clipboard`
 | 
					## `clipboard`
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue