readium/readium-js — pull request #6 by ryanackley (2013-12-05 23:09:54+00:00)
Title: Changes to get table of contents working in readium-js-viewer

I exposed the packageDocument to API consumers as well as functions to acess TOC data. This is how I'm able to access the TOC data

I also addressed what I think were bugs in areas of code that were preventing TOC's from working correctly. I'm not completely familiar with the history and purpose of the code so you may want to test these changes.