aboutsummaryrefslogtreecommitdiff
path: root/deploy/loader.js
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-05-14 23:15:24 -0400
committerbobzel <zzzman@gmail.com>2024-05-14 23:15:24 -0400
commit3534aaf88a3c30a474b3b5a5b7f04adfe6f15fac (patch)
tree47fb7a8671b209bd4d76e0f755a5b035c6936607 /deploy/loader.js
parent87bca251d87b5a95da06b2212400ce9427152193 (diff)
parent5cb7ad90e120123ca572e8ef5b1aa6ca41581134 (diff)
Merge branch 'restoringEslint' into sarah-ai-visualization
Diffstat (limited to 'deploy/loader.js')
-rw-r--r--deploy/loader.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/deploy/loader.js b/deploy/loader.js
index 0be421e14..b3508c5c6 100644
--- a/deploy/loader.js
+++ b/deploy/loader.js
@@ -1,8 +1,8 @@
function getCookie(cname) {
- var name = cname + "=";
- var ca = document.cookie.split(';');
- for (var i = 0; i < ca.length; i++) {
- var c = ca[i];
+ let name = cname + '=';
+ let ca = document.cookie.split(';');
+ for (let i = 0; i < ca.length; i++) {
+ let c = ca[i];
while (c.charAt(0) == ' ') {
c = c.substring(1);
}
@@ -11,4 +11,4 @@ function getCookie(cname) {
}
}
return 3000;
-} \ No newline at end of file
+}