From: anushadasari Date: Wed, 11 Sep 2019 06:07:12 +0000 (+0530) Subject: Add a semicolon at the end of this statement. X-Git-Tag: 6.0.1~285 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=c6de597cf45091ee005f0a4ff14db8339ceaa1e0;p=vid.git Add a semicolon at the end of this statement. In JavaScript, the semicolon (;) is optional as a statement separator, but omitting semicolons can be confusing, and lead to unexpected results because a semicolon is implicitly inserted at the end of each line Issue-ID: VID-607 Change-Id: I6798e2fbf4439e5336e1af734aa762449454f04f Signed-off-by: anushadasari --- diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/services/componentService.js b/vid-app-common/src/main/webapp/app/vid/scripts/services/componentService.js index 0bc8f0b57..251aeef07 100755 --- a/vid-app-common/src/main/webapp/app/vid/scripts/services/componentService.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/services/componentService.js @@ -177,8 +177,8 @@ var ComponentService = function($log, COMPONENT, UtilityService) { getFieldDisplayName : function(name) { return getDisplayName(name); } - } -} + }; +}; appDS2.factory("ComponentService", [ "$log", "COMPONENT", "UtilityService", ComponentService ]);