mozilla/pdf.js — pull request #4480 by skruse (2014-03-18 14:58:57+00:00)
Title: Pdf model to pdf document

Unsure if this is the correct way to submit.

getPageIndex is broken because of a typo(?), where catalog is accessed via pdfModel instead of pdfDocument