mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Lint nits
This commit is contained in:
parent
4a661e1735
commit
c714c782cc
2 changed files with 10 additions and 9 deletions
|
@ -383,12 +383,12 @@ var Page = (function PageClosure() {
|
|||
case 'Text':
|
||||
var content = annotation.get('Contents');
|
||||
var title = annotation.get('T');
|
||||
item.content = (typeof content == 'string') ? stringToPDFString(content) : null;
|
||||
item.title = (typeof title == 'string') ? stringToPDFString(title) : null;
|
||||
item.content = stringToPDFString(content || '');
|
||||
item.title = stringToPDFString(title || '');
|
||||
item.name = annotation.get('Name').name;
|
||||
break;
|
||||
|
||||
default:
|
||||
default:
|
||||
TODO('unimplemented annotation type: ' + subtype.name);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue