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

@ -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) {