diff --git a/platform/commonUI/edit/src/actions/SaveAction.js b/platform/commonUI/edit/src/actions/SaveAction.js index acea4b177b..13fde582d7 100644 --- a/platform/commonUI/edit/src/actions/SaveAction.js +++ b/platform/commonUI/edit/src/actions/SaveAction.js @@ -20,7 +20,7 @@ * at runtime from the About dialog for additional information. *****************************************************************************/ /*global define*/ -/*jshint es5: true */ +/*jslint es5: true */ define( diff --git a/platform/commonUI/edit/src/policies/EditActionPolicy.js b/platform/commonUI/edit/src/policies/EditActionPolicy.js index 81efe27a26..7f623ce07b 100644 --- a/platform/commonUI/edit/src/policies/EditActionPolicy.js +++ b/platform/commonUI/edit/src/policies/EditActionPolicy.js @@ -65,13 +65,13 @@ define( // A view is editable unless explicitly flagged as not (views || []).forEach(function (view) { - if (view.editable === true || (applicableView(view.key) && editableType(type.getKey()))){ + if (view.editable === true || (applicableView(view.key) && editableType(type.getKey()))) { count++; } }); return count; - } + }; /** * Checks whether the domain object is currently being edited. If