Skip to content

Commit da2c4d5

Browse files
committed
Do not show appearance stream for text annotations
1 parent f8f4b3f commit da2c4d5

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

src/annotation.js

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,16 @@ var TextAnnotation = (function TextAnnotationClosure() {
336336

337337
Util.inherit(TextAnnotation, Annotation, {
338338

339-
appendToOperatorList: function TextAnnotation_appendToOperatorList(
340-
operatorList, dependencies, evaluator) {
341-
return;
339+
getOperatorList: function TextAnnotation_getOperatorList(evaluator) {
340+
var promise = new Promise();
341+
promise.resolve({
342+
queue: {
343+
fnArray: [],
344+
argsArray: []
345+
},
346+
dependency: {}
347+
});
348+
return promise;
342349
},
343350

344351
hasHtml: function TextAnnotation_hasHtml() {

0 commit comments

Comments
 (0)