Impromptu 3.1 is Here

I finallized the changes from earlier in the week, and jQuery Impromptu 3.1 is now available! As I mentioned then there are three notable changes to Impromptu:

  1. Add callbacks to nextState, prevState, and goToState functions.
  2. Fix bug when cloning html for use like $(‘#selector’).prompt();
  3. Ability to pass an object as button title and values.

Also I've corrected a bug with Example 9 in the documentation. Don't forget you always need to check to see if your button was clicked. A callback function is always called even if you click X to close, because it's possible you may want to do some logic on that click too. Anyway, that's all! Get Impromptu!