box/viewer.js — pull request #140 by mike-yesware (2014-10-07 15:26:30+00:00)
Title: Return current page when viewer is destroyed

This allows you to access the current page when the viewer is destroyed. I'm open to an alternate implementation of the idea, but this broadcast message seemed to most fit the current pattern.