box/viewer.js — pull request #63 by lakenen (2014-06-18 05:59:25+00:00)
Title: Fix issue with optimistic asset prefetching in non-svg browsers

IE 8 would load page-svg and page-text assets for page 1, which is obviously unnecessary. This commit patches that bug and also enables page-1.png to be prefetched if conversion is complete. I also added better unit tests around the asset-fetching logic in viewer-base.