Closed (fixed)
Project:
Drupal core
Version:
10.4.x-dev
Component:
javascript
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Jun 2024 at 04:14 UTC
Updated:
22 Jul 2024 at 05:39 UTC
Jump to comment: Most recent
Comments
Comment #3
tom kondaComment #4
smustgrave commentedComing from #3416898: Use String.prototype.includes() instead of String.prototype.indexOf() where necessary this change already seemed to be accepted so this seems fine.
Comment #5
nod_small detail
Comment #6
tom kondaI changed to simple else clause in my local environment, it seems to work correctly.
Comment #7
smustgrave commentedFeedback fron @nod_ appears to be addressed.
Comment #8
nod_Thanks for the update. When reviewing with the full context, it makes sense to have the else if, can you add it back please?
Comment #9
tom kondaI reverted else to else if.
Please review.
Comment #10
smustgrave commentedRevert was fine.
Comment #15
nod_Committed and pushed 0819b7aaf4 to 11.x and 530cf173e4 to 11.0.x and 6f61856980 to 10.4.x. Thanks!
Comment #16
tom konda10.4.x branch has tracker module.
In this module still have Array.prototype.indexOf() so need to fix it.
Comment #18
tom kondaFix remaining Array.prototype.indexOf() on the 10.4.x branch.
Please review.
Comment #19
smustgrave commentedLGTM!
Comment #20
nod_Thanks for the update, since it's pretty minor I'd rather not reopen this one, especially since the tracker module is out of 11.x
Comment #21
nod_Comment #22
nod_