Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
javascript
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 Mar 2024 at 15:26 UTC
Updated:
3 Apr 2024 at 20:44 UTC
Jump to comment: Most recent
Comments
Comment #3
tom kondaComment #4
tart0I think, a lot of "old" jQuery code could / should be moved to vanilla to prevent most of those deprecations.
Comment #5
longwave@Tart0 see #3238306: [META] Where possible, refactor existing jQuery uses to vanillaJS to reduce jQuery footprint, we need help in many child issues to make that switch.
Comment #6
longwaveThe only other place
$.parseJSONappears is in core/misc/jquery.form.js, I think we should fix it there too while we are here?Comment #7
longwaveComment #8
tart0@longwave wasn't aware of that meta issue, i'll give a look and provide as much as I can, thanks !
Comment #9
smustgrave commentedConfirmed all instances of $.parseJSON have been replaced.
Comment #10
nod_Committed a605d77 and pushed to 11.x. Thanks!
There is no rule for that in
eslint-plugin-jqueryso leaving as-isComment #13
nod_