joyride
joyride copied to clipboard
does not work with jQuery 1.4.4
TypeError: b.replace is not a function: Line 19 of jquery-1.4.4.min.js
I see this also does not work with 1.5.2 and 1.7.something as well.
jquery 1.4 is over three years old.
What's the reason for not having the latest jquery? I think that's the real question here.
It is a legacy installation and I am not free to just upgrade jquery without a full-suite test of the entire app which would take days, although I am sure it will happen one day.
However, until then, how about the devs update the specs for Joyride that it only works on JQuery 1.8 + because it sure looks like that is the case.
Line 876, just add ,null :: $(el).on('keydown', null, function( event )
From the project homepage:
Updated to jQuery 1.8.2, supports 1.4.2 and up.
Same problem with jQuery 1.6.4.
I made change as mentioned @jtnix, now it's working.
With joyride 2.1, it's now on line 883
Thanks :)
@ManUtopiK can you post a fuller example?
On line 883, simply add "null"
$(el).on('keydown', null, function( event )
I was having the same issue with jQuery 1.6.4, and added null
as advised above (but it was on line 840). Thanks for the tip - been scratching my head over this for a while now!