aboutsummaryrefslogtreecommitdiff
path: root/deploy/loader.js
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-05-19 01:01:02 -0400
committerbobzel <zzzman@gmail.com>2024-05-19 01:01:02 -0400
commit6e72f969029c22fe797397a6437836a0482260b6 (patch)
treee8ccde75702e557b2226c9069263e1bc3bd21a4b /deploy/loader.js
parent5ff0bef5d3c4825aa7210a26c98aae3b24f4a835 (diff)
parent13dc6de0e0099f699ad0d2bb54401e6a0aa25018 (diff)
Merge branch 'restoringEslint' into alyssa-starter
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
+}