Commit 3f6381db authored by Robert Knight's avatar Robert Knight

Adapt an import in a CoffeeScript file to the ES module conversion

This module has no tests :(
parent f6e559e1
......@@ -9,7 +9,7 @@ module.exports = class PDF extends Plugin
pluginInit: ->
@annotator.anchoring = require('../anchoring/pdf')
PDFMetadata = require('./pdf-metadata')
{ default: PDFMetadata } = require('./pdf-metadata')
@pdfViewer = PDFViewerApplication.pdfViewer
@pdfViewer.viewer.classList.add('has-transparent-text-layer')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment