mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-23 00:28:06 +02:00
Lint
This commit is contained in:
parent
786cccf636
commit
bbdec90c0d
2 changed files with 2 additions and 2 deletions
|
@ -554,7 +554,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
|
|||
// A valid matrix needs all main diagonal elements to be non-zero
|
||||
// This also ensures we bypass FF bugzilla bug #719844.
|
||||
if (fontObj.fontMatrix[0] === 0 ||
|
||||
fontObj.fontMatrix[3] === 0 ) {
|
||||
fontObj.fontMatrix[3] === 0) {
|
||||
warn('Invalid font matrix for font ' + fontRefName);
|
||||
|
||||
// Fallback
|
||||
|
|
|
@ -127,7 +127,7 @@ var WorkerMessageHandler = {
|
|||
e = {
|
||||
message: 'Unknown exception type: ' + (typeof e),
|
||||
stack: minimumStackMessage
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
handler.send('page_error', {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue