RSS Git Download  Clone
Raw View History
Blames found: 12 Mode: javascript Binary: false


Hang on, we reloading big blames...
const {app} = require('electron')
app.on('ready', global.p3x.onenote.createWindow.onenote);
app.on('window-all-closed', function () {
// if (process.platform !== 'darwin') {
app.quit();
// }
}); app.on('activate', function () {
if (global.p3x.onenote.window.onenote === null) { global.p3x.onenote.createWindow.onenote();
} });
//FIXME: webview new-window changed app.on('web-contents-created', function (webContentsCreatedEvent, contents) { if (contents.getType() === 'webview') { contents.on('new-window', function (newWindowEvent, url) { newWindowEvent.preventDefault(); }); } });