Fixed JSLint errors

This commit is contained in:
Henry
2015-12-09 18:39:57 -08:00
parent 39b3e6c4a9
commit a399b78d2c
2 changed files with 24 additions and 28 deletions

View File

@@ -48,7 +48,7 @@ define(
action.getActions = function(domainObject) {
return actionCapability.getActions(domainObject).filter(function(action){
return !(DISALLOWED_ACTIONS.indexOf(action.getMetadata().key) >= 0);
return DISALLOWED_ACTIONS.indexOf(action.getMetadata().key) >= 0 ? false : true;
});
};