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

Simplify annotation data passing

This commit is contained in:
Tim van der Meij 2015-07-18 17:52:03 +02:00
parent 91ab010829
commit 995c5ba205
3 changed files with 5 additions and 17 deletions

View file

@ -175,10 +175,6 @@ var Annotation = (function AnnotationClosure() {
}
},
getData: function Annotation_getData() {
return this.data;
},
isInvisible: function Annotation_isInvisible() {
var data = this.data;
if (data && SUPPORTED_TYPES.indexOf(data.subtype) !== -1) {