electron-webapps / meteor-electron

Meteor Electron, the easiest way to create a desktop Meteor application
MIT License
325 stars 46 forks source link

Electron.isFullScreen() in browser throws error #75

Closed rdickert closed 8 years ago

rdickert commented 8 years ago

client/index.js attemps to stub out Electron methods that could be inappropriately called from the browser by assigning _.noop to them. Unfortunately, Meteor apparently uses an old version of underscore that does not support that function, so Electron.isFullScreen & similar are undefined, and if you try to call them in the browser, you will get Uncaught TypeError: Electron.isFullScreen is not a function(…).

wearhere commented 8 years ago

Thanks @rdickert !