cycle2
cycle2 copied to clipboard
Uncaught TypeError: h.animate is not a function
I keep getting the error;
Uncaught TypeError: h.animate is not a function
at Object.doTransition (jquery.cycle2.js:386)
at Object.prepareTx (jquery.cycle2.js:367)
at jquery.cycle2.js:432
It seems strange as normally this does not happen.
I've just come across this in a project I'm working on, and it turned out to be because I was using jQuery Slim rather than just standard jQuery.
jQuery Slim apparently doesn't include animation features (amongst other things)
It's because of the jQuery version you use slim version of jQuery does not contain all the original jQuery functions. You should use a full version. You can download it from here.