This commit is contained in:
2018-08-14 00:02:06 -05:00
commit 4757abfff3
29 changed files with 14255 additions and 0 deletions

5
ipc-renderer.js Normal file
View File

@@ -0,0 +1,5 @@
// this is used to communicate from inside the webview
var ipcRenderer = require('electron').ipcRenderer;
document.addEventListener('DOMContentLoaded', function() {
ipcRenderer.sendToHost('html-content', document.querySelector('pre').innerHTML);
});