Merge pull request #5700 from felixrieseberg/standard-7
Implement JavaScript Standard Style 7
This commit is contained in:
commit
93b8237e1f
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