cubiq / iscroll

Smooth scrolling for the web
http://iscrolljs.com
MIT License
12.89k stars 3.82k forks source link

Iscroll not defined when using require.js #1244

Closed Dom1n1cIR closed 5 years ago

Dom1n1cIR commented 5 years ago

Hi we're using iScroll for a BannerSlider on a customer site and everything works fine on my local copy but we're seeing IScroll is not defined(…) when trying to call new IScroll xxx on our Magento 2 site. I know its something to do with the Require.js not allowing the IScroll to be defined globally and so I was wondering if there was a solution to this?

Thanks in advance.