mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add todo about removing hyphenated options
This commit is contained in:
@@ -100,6 +100,8 @@ window.open = function(url, frameName, features) {
|
||||
features = '';
|
||||
}
|
||||
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'];
|
||||
const webPreferences = ['zoom-factor', 'zoomFactor', 'node-integration', 'nodeIntegration', 'preload'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user