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,7 +2,7 @@
const WebViewImpl = require('./web-view')
const webViewConstants = require('./web-view-constants')
const {remote} = require('electron')
const { remote } = require('electron')
// Helper function to resolve url set in attribute.
const a = document.createElement('a')
@ -142,7 +142,7 @@ class SrcAttribute extends WebViewAttribute {
setupMutationObserver () {
this.observer = new MutationObserver((mutations) => {
for (const mutation of mutations) {
const {oldValue} = mutation
const { oldValue } = mutation
const newValue = this.getValue()
if (oldValue !== newValue) {
return