🎨 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:
parent
b86ded3b54
commit
bef6748c06
4 changed files with 14 additions and 11 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue