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:
parent
db47fa2a9f
commit
06cdba3526
5 changed files with 66 additions and 66 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue