Remove hyphenated options
This commit is contained in:
parent
dae68be2ce
commit
0342db9328
1 changed files with 2 additions and 3 deletions
|
@ -85,9 +85,8 @@ window.open = function (url, frameName, features) {
|
||||||
}
|
}
|
||||||
options = {}
|
options = {}
|
||||||
|
|
||||||
// TODO remove hyphenated options in both of the following arrays for 1.0
|
const ints = ['x', 'y', 'width', 'height', 'minWidth', 'maxWidth', 'minHeight', 'maxHeight', 'zoomFactor']
|
||||||
const ints = ['x', 'y', 'width', 'height', 'min-width', 'minWidth', 'max-width', 'maxWidth', 'min-height', 'minHeight', 'max-height', 'maxHeight', 'zoom-factor', 'zoomFactor']
|
const webPreferences = ['zoomFactor', 'nodeIntegration', 'preload']
|
||||||
const webPreferences = ['zoom-factor', 'zoomFactor', 'node-integration', 'nodeIntegration', 'preload']
|
|
||||||
const disposition = 'new-window'
|
const disposition = 'new-window'
|
||||||
|
|
||||||
// Make sure to get rid of excessive whitespace in the property name
|
// Make sure to get rid of excessive whitespace in the property name
|
||||||
|
|
Loading…
Reference in a new issue