[Build] Relocate operators

...in multi-line expressions, to satisfy JSHint.
This commit is contained in:
Victor Woeltjen
2016-03-04 11:02:57 -08:00
parent 56a91dfbaf
commit c00d77dcb1
8 changed files with 21 additions and 21 deletions

View File

@@ -50,8 +50,8 @@ define(
GoToOriginalAction.appliesTo = function (context) {
var domainObject = context.domainObject;
return domainObject && domainObject.hasCapability("location")
&& domainObject.getCapability("location").isLink();
return domainObject && domainObject.hasCapability("location") &&
domainObject.getCapability("location").isLink();
};
return GoToOriginalAction;

View File

@@ -48,8 +48,8 @@ define(
SetPrimaryLocationAction.appliesTo = function (context) {
var domainObject = context.domainObject;
return domainObject && domainObject.hasCapability("location")
&& (domainObject.getModel().location === undefined);
return domainObject && domainObject.hasCapability("location") &&
(domainObject.getModel().location === undefined);
};
return SetPrimaryLocationAction;