We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 55fe046 + 150c1e8 commit 688ae9bCopy full SHA for 688ae9b
1 file changed
src/core/editor/pdf_editor.js
@@ -71,6 +71,18 @@ class XRefWrapper {
71
fetch(ref) {
72
return ref instanceof Ref ? this.entries[ref.num] : ref;
73
}
74
+
75
+ fetchIfRefAsync(ref) {
76
+ return Promise.resolve(this.fetch(ref));
77
+ }
78
79
+ fetchIfRef(ref) {
80
+ return this.fetch(ref);
81
82
83
+ fetchAsync(ref) {
84
85
86
87
88
class PDFEditor {
0 commit comments