1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Addressing notmasteryet's comments

This commit is contained in:
Saebekassebil 2011-12-22 11:29:27 +01:00
parent c714c782cc
commit 12e2dcd775
3 changed files with 32 additions and 41 deletions

View file

@ -379,7 +379,6 @@ var Page = (function PageClosure() {
item.textAlignment = getInheritableProperty(annotation, 'Q');
item.flags = getInheritableProperty(annotation, 'Ff') || 0;
break;
case 'Text':
var content = annotation.get('Contents');
var title = annotation.get('T');
@ -387,7 +386,6 @@ var Page = (function PageClosure() {
item.title = stringToPDFString(title || '');
item.name = annotation.get('Name').name;
break;
default:
TODO('unimplemented annotation type: ' + subtype.name);
break;