electron/browser/atom/atom.js
2013-04-14 15:36:48 +08:00

9 lines
251 B
JavaScript

process.on('uncaughtException', function(error) {
console.error('uncaughtException:');
if (error.stack)
console.error(error.stack);
else
console.error(error.name + ': ' + error.message);
});
console.log(process.atom_binding('window'));