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

Use strict mode for js files

This commit is contained in:
Vivien Nicolas 2011-06-19 02:35:28 +02:00
parent dd5c87dfdc
commit f4282f9802
5 changed files with 22 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.
*/
@ -1092,7 +1094,8 @@ var Type1Parser = function() {
this.extractFontProgram = function t1_extractFontProgram(aStream) {
var eexecString = decrypt(aStream, kEexecEncryptionKey, 4);
var subrs = [], glyphs = [];
var inSubrs = inGlyphs = false;
var inSubrs = false;
var inGlyphs = false;
var glyph = "";
var token = "";