• Robert Knight's avatar
    Typecheck PDF anchoring code · 3b236bdd
    Robert Knight authored
    Add `src/types/pdfjs.js` module which defines the subset of the PDF.js
    viewer API that the client actually uses and make use of it in
    `src/annotator/anchoring/pdf.js` and `src/annotator/plugin/pdf-metadata.js`
    to typecheck these files.
    
    As well as helping to catch errors and JSDoc mistakes in these files,
    this should also make future PDF.js upgrades easier because we can see
    what PDF.js APIs the client actually relies on.
    3b236bdd
Name
Last commit
Last update
..
test Loading commit data...
html.coffee Loading commit data...
pdf.js Loading commit data...
range.coffee Loading commit data...
text-position.js Loading commit data...
types.coffee Loading commit data...
util.coffee Loading commit data...
xpath.coffee Loading commit data...