Begining work on the UI, header is complete.

This commit is contained in:
Daniel Scalzi
2017-05-09 00:56:08 -04:00
parent c41f74f478
commit 8173f85df0
8 changed files with 184 additions and 14 deletions

View File

@@ -1,8 +1,16 @@
var $ = require('jQuery');
const remote = require('electron').remote
const shell = require('electron').shell
//Opens DevTools window if you type "wcdev" in sequence.
//This will crash the program if you are using multiple
//DevTools, for example the chrome debugger in VS Code.
/* Open web links in the user's default browser. */
$(document).on('click', 'a[href^="http"]', function(event) {
event.preventDefault();
shell.openExternal(this.href);
});
/*Opens DevTools window if you type "wcdev" in sequence.
This will crash the program if you are using multiple
DevTools, for example the chrome debugger in VS Code. */
const match = [87, 67, 68, 69, 86]
let at = 0;
@@ -30,6 +38,4 @@ document.addEventListener('keydown', function (e) {
window.toggleDevTools()
at = 0
}
})
console.log('Can you see me? ( ͡° ͜ʖ ͡°) Then it\'s working!')
})