andreasgal/pdf.js — pull request #671 by kkujala (2011-10-15 19:07:34+00:00)
Title: Move function creation out of the loop.

Also name the anonymous function. Jslint complains about this.