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

use strict mode and fix violators

This commit is contained in:
Chris Jones 2011-06-18 23:18:46 -07:00
parent 7f102a189e
commit 92fa629d10
5 changed files with 27 additions and 11 deletions

View file

@ -1,6 +1,8 @@
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- /
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
"use strict";
/**
* Maximum file size of the font.
*/
@ -1042,7 +1044,8 @@ var Type1Parser = function() {
this.extractFontProgram = function t1_extractFontProgram(aStream) {
var eexecString = decrypt(aStream, kEexecEncryptionKey, 4);
var subrs = [], glyphs = [];
var inSubrs = inGlyphs = false;
var inGlyphs = false;
var inSubrs = false;
var glyph = "";
var token = "";