From 25a04acd7dda99fd730385745d25bf852790be0d Mon Sep 17 00:00:00 2001 From: anushadasari Date: Mon, 26 Aug 2019 17:04:58 +0530 Subject: 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-597 Change-Id: Ibe8ce68b67f4c48adfab0a382487e308093cdd01 Signed-off-by: anushadasari --- .../webapp/app/fusion/scripts/utils/page-resource-ds2.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'epsdk-app-onap/src/main/webapp') diff --git a/epsdk-app-onap/src/main/webapp/app/fusion/scripts/utils/page-resource-ds2.js b/epsdk-app-onap/src/main/webapp/app/fusion/scripts/utils/page-resource-ds2.js index 08ac8a3f8..382d96e43 100755 --- a/epsdk-app-onap/src/main/webapp/app/fusion/scripts/utils/page-resource-ds2.js +++ b/epsdk-app-onap/src/main/webapp/app/fusion/scripts/utils/page-resource-ds2.js @@ -6,13 +6,13 @@ function loadjscssfile(filename, filetype){ script.async = false; document.head.appendChild(script); }else if (filetype=="css"){ //if filename is an external CSS file - var fileref=document.createElement("link") - fileref.setAttribute("rel", "stylesheet") - fileref.setAttribute("type", "text/css") - fileref.setAttribute("async", false) - fileref.setAttribute("href", filename) + var fileref=document.createElement("link"); + fileref.setAttribute("rel", "stylesheet"); + fileref.setAttribute("type", "text/css"); + fileref.setAttribute("async", false); + fileref.setAttribute("href", filename); document.head.appendChild(fileref); - } + }; } function loadResource(){ -- cgit 1.2.3-korg