These are chat archives for idiot/unslider

26th
Aug 2016
tschallacka
@tschallacka
Aug 26 2016 09:06
@idiot to destroy a unslider, do I only need to do app.stop(); app.destroyKeys(); app.destroySwipe(); and then set the data element to null? or are there hooks i'm overseeing?
i'm using the unslider in an element that gets populated and removed which has dynamic content via ajax
I'm always sad to have a lack of a plugin.destroy() feature
tschallacka
@tschallacka
Aug 26 2016 10:02
okay... trying to make a destory method, the stupid thing wont stop animating even after calling stop
tschallacka
@tschallacka
Aug 26 2016 10:08
omg
the unslider binds itself multiple times to the same element...
oh no...
that explains
lovely mistake in unslider, lets make a pull request
tschallacka
@tschallacka
Aug 26 2016 12:02
ended up making 3 pull requests
@idiot check em out, I hope you like them