🎨 Implement JS Standard Code Style 7

Updates Standard Code Style to 7 (latest major) and ensures that code
is conform.

 * camelCase is now enforced
 * No assignments in return statements
This commit is contained in:
Felix Rieseberg 2016-05-25 16:20:49 -07:00
parent b86ded3b54
commit bef6748c06
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) {