Add camel case versions to ints array

This commit is contained in:
Kevin Sawicki 2016-03-16 11:00:15 -07:00
parent a14380ed01
commit 3e7501579f

View file

@ -100,7 +100,7 @@ window.open = function(url, frameName, features) {
features = '';
}
options = {};
ints = ['x', 'y', 'width', 'height', 'min-width', 'max-width', 'min-height', 'max-height', 'zoom-factor'];
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'];
// Make sure to get rid of excessive whitespace in the property name