// Generated by CoffeeScript 1.10.0 (function() { var error, error1, error2, spellcheck, webFrame; try { window.$remote = require('remote'); webFrame = require('web-frame'); } catch (error1) { error = error1; window.$remote = require('electron').remote; webFrame = require('electron').webFrame; } try { spellcheck = require('spellchecker'); webFrame.setSpellCheckProvider("en-US", true, { spellCheck: function(text) { return !spellcheck.isMisspelled(text); } }); } catch (error2) { error = error2; console.log("Could not load spellchecker: " + error); } window.onkeyup = function(e) { if (e.ctrlKey && e.keyCode === 70) { window.show_search_bar(); } if (e.ctrlKey && e.shiftKey && e.keyCode === 73) { return $remote.getCurrentWindow().toggleDevTools(); } }; }).call(this);