These are:
:first -> .first() or css first-child
:last -> .last() or css last-child
:eq -> .eq() or css nth-of-type(n)
:even -> css nth-child(odd) (odd because we're
going from 0->1 based indexing)
And these which were not found in Mahara:
:odd
:gt
:lt
Reviewed: https:/ /reviews. mahara. org/10322 /git.mahara. org/mahara/ mahara/ commit/ 15ed3e6e118a3ec d861d20611317e8 35e1e54420
Committed: https:/
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master
commit 15ed3e6e118a3ec d861d20611317e8 35e1e54420
Author: Rebecca Blundell <email address hidden>
Date: Tue Sep 10 12:44:52 2019 +1200
Bug 1843357: Remove deprecated jquery selectors
These are:
:first -> .first() or css first-child
:last -> .last() or css last-child
:eq -> .eq() or css nth-of-type(n)
:even -> css nth-child(odd) (odd because we're
going from 0->1 based indexing)
And these which were not found in Mahara:
:odd
:gt
:lt
Change-Id: I512db61de687f9 ea3d7a31b1514f4 aa962bcb1b0