- Issue created by @maxilein
On Drupal 11.1 waypoints failes with the error:
EDGE:
drupal.js?v=11.1.3:64 Uncaught TypeError: t.isFunction is not a function
at T.waypoint (jquery.waypoints.min.js?v=4.0.1:7:8494)
at waypoints-animations-init.js?v=11.1.3:8:38
at Array.forEach (<anonymous>)
at Object.attach (waypoints-animations-init.js?v=11.1.3:4:93)
at drupal.js?v=11.1.3:166:24
at Array.forEach (<anonymous>)
at Object.attachBehaviors (drupal.js?v=11.1.3:162:34)
at drupal.init.js?v=11.1.3:32:12
at HTMLDocument.listener (drupal.init.js?v=11.1.3:20:7)
(anonymous) @ jquery.waypoints.min.js?v=4.0.1:7
(anonymous) @ waypoints-animations-init.js?v=11.1.3:8
attach @ waypoints-animations-init.js?v=11.1.3:4
(anonymous) @ drupal.js?v=11.1.3:166
(anonymous) @ drupal.js?v=11.1.3:162
(anonymous) @ drupal.init.js?v=11.1.3:32
listener @ drupal.init.js?v=11.1.3:20
FireFox:
t jQuery
attach https://testsvr/themes/custom/baseplus/js/init/waypoints-animations-init.js?v=11.1.3:8
attach https://testsvr/themes/custom/baseplus/js/init/waypoints-animations-init.js?v=11.1.3:4
attachBehaviors https://testsvr/core/misc/drupal.js?v=11.1.3:166
attachBehaviors https://testsvr/core/misc/drupal.js?v=11.1.3:162
<anonymous> https://testsvr/core/misc/drupal.init.js?v=11.1.3:32
listener https://testsvr/core/misc/drupal.init.js?v=11.1.3:20
domReady https://testsvr/core/misc/drupal.init.js?v=11.1.3:26
<anonymous> https://testsvr/core/misc/drupal.init.js?v=11.1.3:31
<anonymous> https://testsvr/core/misc/drupal.init.js?v=11.1.3:34
jquery.waypoints.min.js:7:8494
t jQuery
attach https://testsvr/themes/custom/baseplus/js/init/waypoints-animations-init.js?v=11.1.3:8
forEach self-hosted:157
attach https://testsvr/themes/custom/baseplus/js/init/waypoints-animations-init.js?v=11.1.3:4
attachBehaviors https://testsvr/core/misc/drupal.js?v=11.1.3:166
forEach self-hosted:157
attachBehaviors https://testsvr/core/misc/drupal.js?v=11.1.3:162
<anonymous> https://testsvr/core/misc/drupal.init.js?v=11.1.3:32
listener https://testsvr/core/misc/drupal.init.js?v=11.1.3:20
(Async: EventListener.handleEvent)
domReady https://testsvr/core/misc/drupal.init.js?v=11.1.3:26
<anonymous> https://testsvr/core/misc/drupal.init.js?v=11.1.3:31
<anonymous> https://testsvr/core/misc/drupal.init.js?v=11.1.3:34
As of jQuery 3.3, jQuery.isFunction() has been deprecated. In most cases, its use can be replaced by typeof x === "function".
jquery.waypoints.min.js is still using this function call.
Active
2.1
Code