viljamis/ResponsiveSlides.js — pull request #181 by GarrettAlbright (2013-04-20 03:20:05+00:00)
Title: Pass the index of the new slide to before and after callbacks

This little change makes my life a lot easier. Without it, my callbacks have to fart around with the DOM to try to figure out which slide is about to be/was just made visible so we can act upon some data elsewhere - in the case of the before callback, it doesn't help that the visibleClass is still on the previous slide, not the new one, at the time that callback fires.