Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6410 jQuery Deprecations #6411

Open
wants to merge 25 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
b2ebd92
jQuery deprecations - submit
rfultz Aug 5, 2024
e36023c
jQuery deprecations - keyCode
rfultz Aug 5, 2024
205dd66
jQuery deprecations - change
rfultz Aug 5, 2024
4a3778d
jQuery deprecations - click
rfultz Aug 5, 2024
6d453c2
jQuery deprecations - focus
rfultz Aug 5, 2024
e68bc59
jQuery deprecations - blur
rfultz Aug 5, 2024
45265d9
jQuery deprecations - hover
rfultz Aug 5, 2024
711fbfc
jQuery deprecations - change
rfultz Aug 5, 2024
fa8dd62
jQuery deprecations - bind
rfultz Aug 5, 2024
ee16b66
jQuery deprecations - unbind
rfultz Aug 5, 2024
cf60484
jQuery deprecations
rfultz Aug 5, 2024
7c43130
jQuery deprecations
rfultz Aug 5, 2024
f0ae6e4
Merge branch 'develop' into feature/6410-jquery-deprecations
rfultz Aug 27, 2024
0d5e04e
Remove unused getCookie
rfultz Sep 5, 2024
ae48d5d
Documentation, formatting
rfultz Sep 6, 2024
c4bf2d2
Turn off failing tests, add TODO
rfultz Sep 6, 2024
934b00b
Merge branch 'develop' into feature/6410-jquery-deprecations
rfultz Sep 6, 2024
6c3f148
Merge branch 'develop' into feature/6410-jquery-deprecations
rfultz Oct 7, 2024
533a936
Merge branch 'develop' into feature/6410-jquery-deprecations
rfultz Oct 24, 2024
96fc917
Updating deprecated jQuery functions
rfultz Oct 24, 2024
a719175
Merge branch 'develop' into feature/6410-jquery-deprecations
rfultz Oct 31, 2024
8c823bf
Merge branch 'develop' into feature/6410-jquery-deprecations
rfultz Nov 27, 2024
fbe736d
Merge branch 'develop' into feature/6410-jquery-deprecations
rfultz Dec 11, 2024
ebbe743
Merge branch 'develop' into feature/6410-jquery-deprecations
rfultz Jan 6, 2025
b7f422d
Merge branch 'develop' into feature/6410-jquery-deprecations
rfultz Feb 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove unused getCookie
rfultz committed Sep 5, 2024
commit 0d5e04e976104d60e7df8ef27163f402abbe5917
16 changes: 0 additions & 16 deletions fec/fec/static/js/modules/helpers.js
Original file line number Diff line number Diff line change
@@ -596,22 +596,6 @@ export function sanitizeQueryParams(query) {
return query;
}

export function getCookie(name) {
let cookieValue = null;
if (document.cookie && document.cookie != '') {
let cookies = document.cookie.split(';');
for (let i = 0; i < cookies.length; i++) {
let cookie = cookies[i].trim();
// Does this cookie string begin with the name we want?
if (cookie.substring(0, name.length + 1) == name + '=') {
cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
break;
}
}
}
return cookieValue;
}

/**
* Passive listeners on touchstart and scroll events improve page performance
* but could crash non-supportive browsers.