Merge pull request #4367 from nnethercote/rm-oldtypes
Remove unneeded |oldtypes| variable from bidi.js.
This commit is contained in:
		
						commit
						c6d69fe0ac
					
				| @ -154,7 +154,6 @@ var bidi = PDFJS.bidi = (function bidiClosure() { | ||||
| 
 | ||||
|     var chars = []; | ||||
|     var types = []; | ||||
|     var oldtypes = []; | ||||
|     var numBidi = 0; | ||||
| 
 | ||||
|     for (var i = 0; i < strLength; ++i) { | ||||
| @ -174,7 +173,7 @@ var bidi = PDFJS.bidi = (function bidiClosure() { | ||||
|       if (charType == 'R' || charType == 'AL' || charType == 'AN') | ||||
|         numBidi++; | ||||
| 
 | ||||
|       oldtypes[i] = types[i] = charType; | ||||
|       types[i] = charType; | ||||
|     } | ||||
| 
 | ||||
|     // detect the bidi method
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user