Ensure menubar can be initialized with both new and extended options

This commit is contained in:
John Lombardo
2016-11-27 09:47:38 +08:00
parent 1bdca8850b
commit 2e3c2bcc70
+2
View File
@@ -12,6 +12,8 @@ var mb2 = menubar({
icon: '/path/to/icon.png',
width: 400,
height: 800,
preloadWindow: true,
transparent: true,
});
mb2.on('ready', () => mb2.showWindow());