From 13b9eaae1fc3b40daae686504b8b2dc706703006 Mon Sep 17 00:00:00 2001 From: anushadasari Date: Thu, 5 Sep 2019 21:31:53 +0530 Subject: Add Semicolon at the end 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 lin Issue-ID: VID-607 Change-Id: Ibde377c9a1f4fe473d8f2c0542657888cfbd44c5 Signed-off-by: anushadasari --- vid-app-common/src/main/webapp/app/vid/scripts/directives/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vid-app-common/src/main') diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/directives/search.js b/vid-app-common/src/main/webapp/app/vid/scripts/directives/search.js index e127d5d74..93323d911 100644 --- a/vid-app-common/src/main/webapp/app/vid/scripts/directives/search.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/directives/search.js @@ -27,5 +27,5 @@ appDS2.directive('searchText', function() { scope: { searchString : '=' } - } + }; }); -- cgit 1.2.3-korg From edba17cca34873f1bf4c722d28c05483466d3255 Mon Sep 17 00:00:00 2001 From: anushadasari Date: Thu, 5 Sep 2019 21:36:09 +0530 Subject: Add Semicolon at the end 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: Icdfa98d7f67fbf3b21cba97b0013f0181ed34675 Signed-off-by: anushadasari --- .../src/main/webapp/app/vid/scripts/directives/serviceMetadata.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vid-app-common/src/main') diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/directives/serviceMetadata.js b/vid-app-common/src/main/webapp/app/vid/scripts/directives/serviceMetadata.js index 77bf9c806..3a7ef9e4d 100644 --- a/vid-app-common/src/main/webapp/app/vid/scripts/directives/serviceMetadata.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/directives/serviceMetadata.js @@ -30,5 +30,5 @@ appDS2.directive('serviceMetadata', function() { }, link : function(scope, element, attrs) { } - } + }; }); -- cgit 1.2.3-korg From 7d1312cd686dd7178d9fb9ae620aa98104e2fded Mon Sep 17 00:00:00 2001 From: anushadasari Date: Thu, 5 Sep 2019 21:42:19 +0530 Subject: Add Semicolon at the end 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: I53b2e7a540b88b3e04d9169670d1fc6b4a32c6e8 Signed-off-by: anushadasari --- .../app/vid/scripts/modals/alert-modal/alert-modal.controller.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vid-app-common/src/main') diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/modals/alert-modal/alert-modal.controller.js b/vid-app-common/src/main/webapp/app/vid/scripts/modals/alert-modal/alert-modal.controller.js index 15c57f756..bcac579f3 100644 --- a/vid-app-common/src/main/webapp/app/vid/scripts/modals/alert-modal/alert-modal.controller.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/modals/alert-modal/alert-modal.controller.js @@ -31,11 +31,11 @@ vm.content = jobInfo.message; vm.mode = jobInfo.status; if (vm.mode == "failed") { - vm.Header = "Failed" + vm.Header = "Failed"; } else if (vm.mode == "confirm") { - vm.Header = "Confirm" + vm.Header = "Confirm"; } else { - vm.Header = "Success" + vm.Header = "Success"; } } }; -- cgit 1.2.3-korg