Merge pull request #5700 from felixrieseberg/standard-7

Implement JavaScript Standard Style 7
This commit is contained in:
Cheng Zhao 2016-05-26 04:57:36 +00:00
commit 93b8237e1f
4 changed files with 14 additions and 11 deletions

View file

@ -15,8 +15,9 @@ var BrowserWindowProxy = (function () {
BrowserWindowProxy.proxies = {}
BrowserWindowProxy.getOrCreate = function (guestId) {
var base
return (base = this.proxies)[guestId] != null ? base[guestId] : base[guestId] = new BrowserWindowProxy(guestId)
var base = this.proxies
base[guestId] != null ? base[guestId] : base[guestId] = new BrowserWindowProxy(guestId)
return base[guestId]
}
BrowserWindowProxy.remove = function (guestId) {