Sha256: 015f59c84d14a9e07be56a51b44b3f31ff7e77559981543120bfa60b5f7b0c9d
Contents?: true
Size: 703 Bytes
Versions: 5
Compression:
Stored size: 703 Bytes
Contents
try window.$remote = require('remote') webFrame = require('web-frame') catch error window.$remote = require('electron').remote {webFrame} = require('electron') try spellcheck = require('spellchecker') webFrame.setSpellCheckProvider("en-US", true, { spellCheck: (text) -> return !spellcheck.isMisspelled(text) }) catch error console.log("Could not load spellchecker: #{error}") window.onkeyup = (e) -> if e.ctrlKey and e.keyCode is 70 window.show_search_bar() if e.ctrlKey and e.shiftKey and e.keyCode is 73 $remote.getCurrentWindow().toggleDevTools() if e.code is "F11" $remote.getCurrentWindow().setFullScreen(!$remote.getCurrentWindow().isFullScreen())
Version data entries
5 entries across 5 versions & 1 rubygems