bradbirdsall/Swipe — pull request #109 by gokujou (2012-09-11 19:03:54+00:00)
Title: New function call and expanded prev/next features.

The first change is that I found it odd that when on the last slide and firing the next function it animated back to the first slide, but the same thing did not occur when firing previous on the first slide. So I have added this by mirroring the code.

The second change was adding the 'slidecalled' function similar to the 'callback'. It looks awkward in my instances to have my indicator not update until after the slide animation has occurred. So I have added this function option so that it will call when a slide request is made that did not come from the initial load.

I hope this helps, these minor tweaks have made this library super useful for me and just wanted to contribute them back. Thank you!