readium/readium-js — pull request #14 by pivotal-versapub (2014-01-14 22:40:12+00:00)
Title: Correctly check if rootUrl ends with ".epub"

isExploded wants to check if the rootUrl ends in ".epub". Currently the code checks the length of "this" (which is the DOMWindow object). The code should be checking the length of rootUrl instead.