Commit 99bd3f21 authored by Sean Hammond's avatar Sean Hammond

Merge pull request #2522 from hypothesis/fix-pdf-uris

Fix detection of PDF URIs
parents 5d37b53e 84867512
......@@ -18,7 +18,7 @@ Annotator.Plugin.BucketBar = require('./plugin/bucket-bar');
Annotator.Plugin.Toolbar = require('./plugin/toolbar');
// Document type plugins
Annotator.Plugin.Pdf = require('./plugin/pdf');
Annotator.Plugin.PDF = require('./plugin/pdf');
require('../vendor/annotator.document'); // Does not export the plugin :(
// Selection plugins
......
......@@ -4,7 +4,7 @@ Sidebar = require('./sidebar')
module.exports = class PdfSidebar extends Sidebar
options:
TextSelection: {}
Pdf: {}
PDF: {}
BucketBar:
container: '.annotator-frame'
scrollables: ['#viewerContainer']
......
......@@ -2,7 +2,7 @@ extend = require('extend')
Annotator = require('annotator')
module.exports = class Pdf extends Annotator.Plugin
module.exports = class PDF extends Annotator.Plugin
documentLoaded: null
observer: null
pdfViewer: null
......
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