Merge pull request #834 from bitpayalan/master

Disable node-integration in atom-shell browser environment
This commit is contained in:
Matias Alejo Garcia 2014-07-07 13:36:51 -03:00
commit 504d4da0c6

View file

@ -24,7 +24,8 @@ module.exports = function(copay) {
// create the main window // create the main window
mainWindow = new BrowserWindow({ mainWindow = new BrowserWindow({
width: config.window.width, width: config.window.width,
height: config.window.height height: config.window.height,
"node-integration": "disable"
}); });
// hide the empty window // hide the empty window
@ -52,7 +53,7 @@ module.exports = function(copay) {
mainWindow = null; mainWindow = null;
}); });
// mainWindow.toggleDevTools(); //mainWindow.toggleDevTools();
}); });