standardize by hand

This commit is contained in:
Zeke Sikelianos 2016-03-28 17:16:08 -07:00 committed by Kevin Sawicki
parent fd0f9519f1
commit cfdfdc8ccc
2 changed files with 16 additions and 18 deletions

View file

@ -1,3 +1,5 @@
/* globals Event, HTMLObjectElement */
'use strict'
const deprecate = require('electron').deprecate
@ -72,7 +74,7 @@ var WebViewImpl = (function () {
this.beforeFirstNavigation = true
this.attributes[webViewConstants.ATTRIBUTE_PARTITION].validPartitionId = true
}
return this.internalInstanceId = 0
this.internalInstanceId = 0
}
// Sets the <webview>.request property.
@ -267,7 +269,7 @@ var registerBrowserPluginElement = function () {
this.setAttribute('id', 'browser-plugin-' + getNextId())
// The <object> node fills in the <webview> container.
return this.style.flex = '1 1 auto'
this.style.flex = '1 1 auto'
}
proto.attributeChangedCallback = function (name, oldValue, newValue) {
var internal
@ -374,7 +376,7 @@ var registerWebViewElement = function () {
'downloadURL',
'inspectServiceWorker',
'print',
'printToPDF',
'printToPDF'
]
nonblockMethods = [
'insertCSS',
@ -383,7 +385,7 @@ var registerWebViewElement = function () {
'sendInputEvent',
'setZoomFactor',
'setZoomLevel',
'setZoomLevelLimits',
'setZoomLevelLimits'
]
// Forward proto.foo* method calls to WebViewImpl.foo*.