In the function repeat the variabe i is not defined in the scope of the function. This function was from moved by 92fa629d107cf4de1cb486366d783e890e153306 from its original place which had the i as defined. This fix avoids the scope dependency.
pdf.js
pdf.js is a technology demonstrator prototype to explore whether the HTML5 platform is complete enough to faithfully and efficiently render the ISO 32000-1:2008 Portable Document Format (PDF) without native code assistance.
pdf.js is not currently part of the Mozilla project, and there is no plan yet to integrate it into Firefox. We will explore that possibility once pdf.js is production ready. Until then we aim to publish a Firefox PDF reader extension powered by pdf.js.
Our demo site is here:
http://andreasgal.github.com/pdf.js/
You can read more about pdf.js here:
http://andreasgal.com/2011/06/15/pdf-js/
http://blog.mozilla.com/cjones/2011/06/15/overview-of-pdf-js-guts/
follow us on twitter: @pdfjs
join our mailing list:
and talk to us on IRC:
#pdfjs on irc.mozilla.org