1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 17:48:07 +02:00

Remove some unused variables from src/

Only obviously useless, local variables have been removed.
This commit is contained in:
Rob Wu 2014-04-11 23:01:08 +02:00
parent d7dfa447cd
commit 2e97c0d085
17 changed files with 9 additions and 111 deletions

View file

@ -509,7 +509,6 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
var self = this;
var xref = this.xref;
var handler = this.handler;
var imageCache = {};
operatorList = (operatorList || new OperatorList());
@ -520,7 +519,6 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
var stateManager = new StateManager(initialState || new EvalState());
var preprocessor = new EvaluatorPreprocessor(stream, xref, stateManager);
var promise = new LegacyPromise();
var operation, i, ii;
while ((operation = preprocessor.read())) {
var args = operation.args;
@ -706,7 +704,6 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
var xobjsCache = {};
var preprocessor = new EvaluatorPreprocessor(stream, xref, stateManager);
var res = resources;
var operation;
var textState;
@ -1091,7 +1088,6 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
readToUnicode: function PartialEvaluator_readToUnicode(toUnicode) {
var cmapObj = toUnicode;
var charToUnicode = [];
if (isName(cmapObj)) {
return CMapFactory.create(cmapObj).map;
} else if (isStream(cmapObj)) {