Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
99bd3f21
Commit
99bd3f21
authored
Sep 22, 2015
by
Sean Hammond
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2522 from hypothesis/fix-pdf-uris
Fix detection of PDF URIs
parents
5d37b53e
84867512
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
main.js
h/static/scripts/annotator/main.js
+1
-1
pdf-sidebar.coffee
h/static/scripts/annotator/pdf-sidebar.coffee
+1
-1
pdf.coffee
h/static/scripts/annotator/plugin/pdf.coffee
+1
-1
No files found.
h/static/scripts/annotator/main.js
View file @
99bd3f21
...
@@ -18,7 +18,7 @@ Annotator.Plugin.BucketBar = require('./plugin/bucket-bar');
...
@@ -18,7 +18,7 @@ Annotator.Plugin.BucketBar = require('./plugin/bucket-bar');
Annotator
.
Plugin
.
Toolbar
=
require
(
'./plugin/toolbar'
);
Annotator
.
Plugin
.
Toolbar
=
require
(
'./plugin/toolbar'
);
// Document type plugins
// Document type plugins
Annotator
.
Plugin
.
P
df
=
require
(
'./plugin/pdf'
);
Annotator
.
Plugin
.
P
DF
=
require
(
'./plugin/pdf'
);
require
(
'../vendor/annotator.document'
);
// Does not export the plugin :(
require
(
'../vendor/annotator.document'
);
// Does not export the plugin :(
// Selection plugins
// Selection plugins
...
...
h/static/scripts/annotator/pdf-sidebar.coffee
View file @
99bd3f21
...
@@ -4,7 +4,7 @@ Sidebar = require('./sidebar')
...
@@ -4,7 +4,7 @@ Sidebar = require('./sidebar')
module
.
exports
=
class
PdfSidebar
extends
Sidebar
module
.
exports
=
class
PdfSidebar
extends
Sidebar
options
:
options
:
TextSelection
:
{}
TextSelection
:
{}
P
df
:
{}
P
DF
:
{}
BucketBar
:
BucketBar
:
container
:
'.annotator-frame'
container
:
'.annotator-frame'
scrollables
:
[
'#viewerContainer'
]
scrollables
:
[
'#viewerContainer'
]
...
...
h/static/scripts/annotator/plugin/pdf.coffee
View file @
99bd3f21
...
@@ -2,7 +2,7 @@ extend = require('extend')
...
@@ -2,7 +2,7 @@ extend = require('extend')
Annotator
=
require
(
'annotator'
)
Annotator
=
require
(
'annotator'
)
module
.
exports
=
class
P
df
extends
Annotator
.
Plugin
module
.
exports
=
class
P
DF
extends
Annotator
.
Plugin
documentLoaded
:
null
documentLoaded
:
null
observer
:
null
observer
:
null
pdfViewer
:
null
pdfViewer
:
null
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment