standardize by hand

This commit is contained in:
Zeke Sikelianos 2016-03-28 17:35:49 -07:00 committed by Kevin Sawicki
parent cfdfdc8ccc
commit e6698102c9
13 changed files with 34 additions and 33 deletions

View file

@ -40,7 +40,7 @@ class WebViewAttribute {
setValueIgnoreMutation (value) {
this.ignoreMutation = true
this.setValue(value)
return this.ignoreMutation = false
this.ignoreMutation = false
}
// Defines this attribute as a property on the webview node.

View file

@ -423,8 +423,7 @@ var registerWebViewElement = function () {
let requestId = getNextId()
ipcRenderer.send('ATOM_BROWSER_ASYNC_CALL_TO_GUEST_VIEW', requestId, internal.guestInstanceId, 'executeJavaScript', code, hasUserGesture)
ipcRenderer.once(`ATOM_RENDERER_ASYNC_CALL_TO_GUEST_VIEW_RESPONSE_${requestId}`, function (event, result) {
if (callback)
callback(result)
if (callback) callback(result)
})
}