Browse Source

chore: lint JS with standard (#769)

main
David Sanders 2 years ago
committed by GitHub
parent
commit
11e37b891c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      main.js
  2. 2
      preload.js

2
main.js

@ -1,5 +1,5 @@
// Modules to control application life and create native browser window // Modules to control application life and create native browser window
const {app, BrowserWindow} = require('electron')
const { app, BrowserWindow } = require('electron')
const path = require('path') const path = require('path')
function createWindow () { function createWindow () {

2
preload.js

@ -2,7 +2,7 @@
* The preload script runs before. It has access to web APIs * The preload script runs before. It has access to web APIs
* as well as Electron's renderer process modules and some * as well as Electron's renderer process modules and some
* polyfilled Node.js functions. * polyfilled Node.js functions.
*
*
* https://www.electronjs.org/docs/latest/tutorial/sandbox * https://www.electronjs.org/docs/latest/tutorial/sandbox
*/ */
window.addEventListener('DOMContentLoaded', () => { window.addEventListener('DOMContentLoaded', () => {

Loading…
Cancel
Save