node-webkit.dart icon indicating copy to clipboard operation
node-webkit.dart copied to clipboard

Window.get().enterFullscreen() causes crash

Open SkaveRat opened this issue 10 years ago • 1 comments

new gui.Window.get().enterFullscreen();

calling this, causes following error:

Uncaught TypeError: Cannot read property 'constructor' of undefined"

Replicatable by writing a simple app containing just the above line

SkaveRat avatar Jul 18 '14 19:07 SkaveRat

Maybe you should so something like this:

(new gui.Window.get()).enterFullscreen();

btwael avatar Oct 29 '14 20:10 btwael