Underscore js is removed in Drupal 10

Created on 23 November 2023, about 1 year ago
Updated 30 January 2024, 11 months ago

Problem/Motivation

FortyTwo appears broken and not compatible with Drupal 10 as it uses Underscore JS. This will result in the following error if you use placeholders;
placeholder.js?v=1.x:28 Uncaught ReferenceError: _ is not defined
at Object.show (placeholder.js?v=1.x:28:9)
at Object.render (placeholder.js?v=1.x:22:14)
at Object.init (placeholder.js?v=1.x:14:14)
at new Placeholder (placeholder.js?v=1.x:68:10)
at HTMLInputElement. (placeholder.js?v=1.x:73:41)
at Function.each (jquery.min.js?v=3.7.0:2:3129)
at ce.fn.init.each (jquery.min.js?v=3.7.0:2:1594)
at placeholder.js?v=1.x:73:22
at placeholder.js?v=1.x:77:3
show @ placeholder.js?v=1.x:28
render @ placeholder.js?v=1.x:22
init @ placeholder.js?v=1.x:14
Placeholder @ placeholder.js?v=1.x:68
(anonymous) @ placeholder.js?v=1.x:73
each @ jquery.min.js?v=3.7.0:2
each @ jquery.min.js?v=3.7.0:2
(anonymous) @ placeholder.js?v=1.x:73
(anonymous) @ placeholder.js?v=1.x:77

🐛 Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

🇳🇱Netherlands Rik Wijnen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024