CSS-Tricks / AnythingSlider

A jQuery Slider plugin for anything.
http://css-tricks.github.io/AnythingSlider/
GNU Lesser General Public License v3.0
1.15k stars 380 forks source link

jQuery 3 compatibility #664

Open fulv opened 5 years ago

fulv commented 5 years ago

This plugin is not yet compatible with jQuery 3.

For example, when loading jQ3 in the demos, the use of $.load causes this error:

jquery-3.4.1.min.js:2 Uncaught TypeError: e.indexOf is not a function
    at k.fn.init.k.fn.load (jquery-3.4.1.min.js:2)
    at $.anythingSlider.base.updateSlider (jquery.anythingslider.js:267)
    at $.anythingSlider.base.init (jquery.anythingslider.js:118)
    at new $.anythingSlider (jquery.anythingslider.js:881)
    at HTMLUListElement.<anonymous> (jquery.anythingslider.js:985)
    at Function.each (jquery-3.4.1.min.js:2)
    at k.fn.init.each (jquery-3.4.1.min.js:2)
    at k.fn.init.$.fn.anythingSlider (jquery.anythingslider.js:979)
    at HTMLDocument.<anonymous> ((index):113)
    at e (jquery-3.4.1.min.js:2)

There are other errors and uses of deprecated jQ functions.

What is your process for accepting updates?