[Code Style] Run gulp fixstyle

...to apply code style settings from #142.
This commit is contained in:
Victor Woeltjen
2016-05-19 11:29:13 -07:00
parent f12b9704d9
commit fa77139077
440 changed files with 1885 additions and 1662 deletions

View File

@ -36,10 +36,10 @@ define(
}
EditableRegionPolicy.prototype.allow = function (regionPart, domainObject) {
if (!regionPart.modes){
if (!regionPart.modes) {
return true;
}
if (domainObject.hasCapability('editor') && domainObject.getCapability('editor').inEditContext()){
if (domainObject.hasCapability('editor') && domainObject.getCapability('editor').inEditContext()) {
//If the domain object is in edit mode, only include a part
// if it is marked editable
return regionPart.modes.indexOf('edit') !== -1;
@ -52,4 +52,4 @@ define(
return EditableRegionPolicy;
}
);
);