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:
parent
dd5c87dfdc
commit
f4282f9802
5 changed files with 22 additions and 11 deletions
5
fonts.js
5
fonts.js
|
@ -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 = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue