From 56a91dfbaf3012bcfd2bc27967a86be6fbd54a3f Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Fri, 4 Mar 2016 10:58:23 -0800 Subject: [PATCH] [Build] Use not-threequals operator ...to satisfy JSHint --- platform/commonUI/edit/src/representers/EditRepresenter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/commonUI/edit/src/representers/EditRepresenter.js b/platform/commonUI/edit/src/representers/EditRepresenter.js index 386285b38f..d61d5825ec 100644 --- a/platform/commonUI/edit/src/representers/EditRepresenter.js +++ b/platform/commonUI/edit/src/representers/EditRepresenter.js @@ -131,7 +131,7 @@ define( * object representation accordingly */ this.listenHandle = this.domainObject.getCapability('status').listen(function(statuses){ - if (statuses.indexOf('editing')!=-1){ + if (statuses.indexOf('editing') !== -1){ setEditing(); } else { delete scope.viewObjectTemplate;