Add todo about removing hyphenated options
This commit is contained in:
parent
3e7501579f
commit
90d815ce6c
1 changed files with 2 additions and 0 deletions
|
@ -100,6 +100,8 @@ window.open = function(url, frameName, features) {
|
||||||
features = '';
|
features = '';
|
||||||
}
|
}
|
||||||
options = {};
|
options = {};
|
||||||
|
|
||||||
|
// TODO remove hyphenated options in both of the following arrays for 1.0
|
||||||
ints = ['x', 'y', 'width', 'height', 'min-width', 'max-width', 'min-height', 'minHeight', 'max-height', 'maxHeight', 'zoom-factor', 'zoomFactor'];
|
ints = ['x', 'y', 'width', 'height', 'min-width', 'max-width', 'min-height', 'minHeight', 'max-height', 'maxHeight', 'zoom-factor', 'zoomFactor'];
|
||||||
const webPreferences = ['zoom-factor', 'zoomFactor', 'node-integration', 'nodeIntegration', 'preload'];
|
const webPreferences = ['zoom-factor', 'zoomFactor', 'node-integration', 'nodeIntegration', 'preload'];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue