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:
parent
2c3991f8b0
commit
ddf77cda6b
3 changed files with 43 additions and 43 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue