- π¦πΊAustralia richard.walker.ardc
Explanation and examples showing how to use
core/once
instead ofjquery.once
in the behavior definition:
https://www.drupal.org/docs/drupal-apis/javascript-api/javascript-api-overview β - Status changed to Needs review
almost 2 years ago 4:28am 11 March 2023 - ππΊHungary huzooka Hungary ππΊπͺπΊ
Well, since issue title already complains about jquery/once only, and because Drupal core 10.1.x also uses prophesize a lot, let's officially reduce the scope to the deprecated (and in 10.x, removed) library dependency.
Here is a fix, I hope it will make tests pass.
-
huzooka β
committed be496ef2 on 2.x
Issue #3324466 by huzooka: jquery.once is deprecated
-
huzooka β
committed be496ef2 on 2.x
-
huzooka β
committed 7e7f155c on 1.0.x
Issue #3324466 by huzooka: jquery.once is deprecated
-
huzooka β
committed 7e7f155c on 1.0.x
- ππΊHungary huzooka Hungary ππΊπͺπΊ
Committed to 2.x and cherry-picked to 1.0.x.
Will be released in 1.0.0-alpha13
- Status changed to Fixed
almost 2 years ago 4:56am 11 March 2023 - π¦πΊAustralia richard.walker.ardc
... let's officially reduce the scope to the deprecated (and in 10.x, removed) library dependency.
Yes, that's exactly what I meant by:
Only the last reported issue seems to be relevant here ...
Thank you for fixing.
- ππΊHungary huzooka Hungary ππΊπͺπΊ
π€¦ ...and I forgot to release this! Now it's done: https://www.drupal.org/project/eme/releases/1.0.0-alpha13 β
Automatically closed - issue fixed for 2 weeks with no activity.