1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 01:58:06 +02:00

Using ii convention

This commit is contained in:
Artur Adib 2011-11-02 15:21:45 -04:00
parent 2c3991f8b0
commit ddf77cda6b
3 changed files with 43 additions and 43 deletions

View file

@ -205,7 +205,7 @@ var Page = (function pagePage() {
ensureFonts: function pageEnsureFonts(fonts, callback) {
// Convert the font names to the corresponding font obj.
for (var i = 0, fontsLength = fonts.length; i < fontsLength; i++) {
for (var i = 0, ii = fonts.length; i < ii; i++) {
fonts[i] = this.objs.objs[fonts[i]].data;
}