chore: update to standard 12

This commit is contained in:
Samuel Attard 2018-09-14 02:10:51 +10:00
parent 9e85bdb02c
commit 558fff69e7
No known key found for this signature in database
GPG key ID: E89DDE5742D58C4E
198 changed files with 4455 additions and 2940 deletions

View file

@ -2,14 +2,14 @@
const bindings = process.atomBinding('app')
const path = require('path')
const {app, App} = bindings
const { app, App } = bindings
// Only one app object permitted.
module.exports = app
const electron = require('electron')
const {deprecate, Menu} = electron
const {EventEmitter} = require('events')
const { deprecate, Menu } = electron
const { EventEmitter } = require('events')
let dockMenu = null
@ -113,5 +113,5 @@ for (let name of events) {
}
// Wrappers for native classes.
const {DownloadItem} = process.atomBinding('download_item')
const { DownloadItem } = process.atomBinding('download_item')
Object.setPrototypeOf(DownloadItem.prototype, EventEmitter.prototype)