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

Name anonymous functions.

This commit is contained in:
Kalervo Kujala 2011-10-04 22:21:40 +03:00
parent db47fa2a9f
commit 06cdba3526
5 changed files with 66 additions and 66 deletions

View file

@ -232,7 +232,7 @@ function readFontIndexData(aStream, aIsByte) {
return objects;
}
var Type2Parser = function(aFilePath) {
var Type2Parser = function type2Parser(aFilePath) {
var font = new Dict();
var xhr = new XMLHttpRequest();
@ -292,7 +292,7 @@ var Type2Parser = function(aFilePath) {
}
}
this.parse = function(aStream) {
this.parse = function type2ParserParse(aStream) {
font.set('major', aStream.getByte());
font.set('minor', aStream.getByte());
font.set('hdrSize', aStream.getByte());