chrisnelsoncentare/jquery-mobile-datebox — comment on commit 6da79f9125374768be8f22348d77fb4fb4f21ac7
File:  line 0
By jtsage:

Wait, what? There is a destroy hook that gets called on page switch? That is fscking grand - had no idea this existed - and yes, this looks about right - I'll play with it a bit tonight and make sure that there are no leftover orphans - I think the only thing I can imagine might be left over is pickerContent, but that should get nuked with the page (or the dialog) - um. Does this need a hook for "leave page in cache"? Or is jQM doing that?

Thanks!
~j