jeff-optimizely/Guiders-JS — pull request #41 by andrewjshults (2011-11-16 21:26:37+00:00)
Title: Add an onHide callback option to guiders

I was using the onShow callback to perform some initial setup of the page and ran into some situations where I wanted to undo that setup work after the guider was hidden. Since the setup code was often shared between multiple guiders, the callback is passed a boolean as the second parameter if it was called by the next action rather than the close action so that you can skip the setup if it's already in the correct state (for more complicated situations, the guider id could be passed back instead of just a boolean).