🎨 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

@ -89,7 +89,9 @@ MenuItem = (function () {
if (defaultValue == null) {
defaultValue = null
}
return this[name] != null ? this[name] : this[name] = defaultValue
this[name] != null ? this[name] : this[name] = defaultValue
return this[name]
}
MenuItem.prototype.overrideReadOnlyProperty = function (name, defaultValue) {