aboutsummaryrefslogtreecommitdiffstats
path: root/epsdk-app-onap/src/main/webapp
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-08-26 17:04:58 +0530
committeranushadasari <danush10@in.ibm.com>2019-08-26 17:05:18 +0530
commit25a04acd7dda99fd730385745d25bf852790be0d (patch)
treefa6a7ac4d12e63dc775cd2c146ea70e638b5c557 /epsdk-app-onap/src/main/webapp
parented6c907de3578ee4dc79571753d7406da7685cee (diff)
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 <danush10@in.ibm.com>
Diffstat (limited to 'epsdk-app-onap/src/main/webapp')
-rwxr-xr-xepsdk-app-onap/src/main/webapp/app/fusion/scripts/utils/page-resource-ds2.js12
1 files changed, 6 insertions, 6 deletions
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(){