chore: update to standard 12
This commit is contained in:
parent
9e85bdb02c
commit
558fff69e7
198 changed files with 4455 additions and 2940 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue