Browse Source

Remove unneeded |oldtypes| variable from bidi.js.

Nicholas Nethercote 11 years ago
parent
commit
6e4283fc45
  1. 3
      src/core/bidi.js

3
src/core/bidi.js

@ -154,7 +154,6 @@ var bidi = PDFJS.bidi = (function bidiClosure() {
var chars = []; var chars = [];
var types = []; var types = [];
var oldtypes = [];
var numBidi = 0; var numBidi = 0;
for (var i = 0; i < strLength; ++i) { for (var i = 0; i < strLength; ++i) {
@ -174,7 +173,7 @@ var bidi = PDFJS.bidi = (function bidiClosure() {
if (charType == 'R' || charType == 'AL' || charType == 'AN') if (charType == 'R' || charType == 'AL' || charType == 'AN')
numBidi++; numBidi++;
oldtypes[i] = types[i] = charType; types[i] = charType;
} }
// detect the bidi method // detect the bidi method

Loading…
Cancel
Save