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
c38cbab7
Commit
c38cbab7
authored
May 23, 2014
by
csillag
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Annotator's PDF plugin to 9e987d37 (typed-packaging branch). Fixes #1211
parent
690cde3b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
pdf.coffee
h/lib/_annotator_mapsrc/src/plugin/pdf.coffee
+1
-1
annotator.pdf.js
h/lib/annotator.pdf.js
+2
-2
annotator.pdf.map
h/lib/annotator.pdf.map
+1
-1
No files found.
h/lib/_annotator_mapsrc/src/plugin/pdf.coffee
View file @
c38cbab7
...
...
@@ -97,7 +97,7 @@ class window.PDFTextMapper extends window.PageTextMapperCore
# Get a handle on the page
page
=
PDFFindController
.
pdfPageSource
.
pages
[
pageIndex
]
unless
page
?
unless
page
?
.
pdfPage
?
# console.log "Delaying text extraction from page", pageIndex
setTimeout
(
=>
@
_extractPageText
pageIndex
),
100
return
...
...
h/lib/annotator.pdf.js
View file @
c38cbab7
...
...
@@ -7,7 +7,7 @@
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 2014-05-23 03:
09:10
Z
** Built at: 2014-05-23 03:
17:31
Z
*/
...
...
@@ -128,7 +128,7 @@
var
page
,
_this
=
this
;
page
=
PDFFindController
.
pdfPageSource
.
pages
[
pageIndex
];
if
(
page
==
null
)
{
if
(
(
page
!=
null
?
page
.
pdfPage
:
void
0
)
==
null
)
{
setTimeout
((
function
()
{
return
_this
.
_extractPageText
(
pageIndex
);
}),
100
);
...
...
h/lib/annotator.pdf.map
View file @
c38cbab7
{"version":3,"file":"annotator.pdf.js","sources":["_preamble.coffee","_annotator_mapsrc/src/plugin/pdf.coffee"],"names":[],"mappings":";AAAA;;;;;;;;;;CAAA;CAAA;;;;;;;ACCA;CAAA,GAAA,EAAA;KAAA;;oSAAA;;CAAA,CAAM,IAAM;CAGV;;CAAA,EAAa,CAAb,KAAa,CAAb,GAAC;CAAe,GAAA,MAAA;CAAH,EAA0B;CAAvC,IAAa;;CAAb,EAE4B,CAF5B,sBAEA;;CAFA,EAKc,MAAA,GAAd;CAAyB,IAAK,EAAN,MAAP;CALjB,IAKc;;CALd,EAQc,MAAA,GAAd;CAAyB,EAAO,CAAf,GAAO,MAAP;CARjB,IAQc;;CARd,EAWc,EAAA,IAAC,GAAf;CAAiC,EAAO,CAAf,CAAe,EAAR,MAAP;CAXzB,IAWc;;CAXd,EAciB,EAAA,IAAC,MAAlB;CACE,SAAA,CAAA;CAAA,IAAsC,CAAtC;CAfF,IAciB;;CAdjB,EAkBoB,EAAA,IAAC,SAArB;CACU,IAAM,EAAP,EAAuB,IAA9B;CAnBF,IAkBoB;;CAGP,EAAA,CAAA,mBAAA;CACX,gDAAA;CAAA,gEAAA;CAAA,GAAC,EAAD,GAAA;CAtBF,IAqBa;;CArBb,EAyBW,MAAX;CAEE,KAAA,IAAA;SAAA,GAAA;CAAA,CAA+B,CAAA,GAA/B,GAAgC,GAAhC,IAAA;CAIE,IAAA,OAAA;CAAA,GAAc,IAAd,cAAA;CAAA,eAAA;UAAA;CAAA,EAEQ,EAAR,CAAkB,EAAlB,EAAQ;CACP,IAAA,UAAD;CAPF,MAA+B;CAA/B,CAUmC,CAAA,GAAnC,GAAoC,OAApC;CACE,UAAA,CAAA;CAAA,EAA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AES,CAAP,GAAA,EAAA,CAAyB,EAAR,IAAjB;CACE,GAAA,GAAO,CAAP,+DAAA;CACA,aAAA;QAFF;CAIC,GAAA,GAAD,EAAU,IAAV,WAAmC;CAEjC,CAAM,EAAN,IAAA;CAAA,CACQ,IAAR,EAAA,KADA;CARQ,OAMV;CANF,IAAY;;CAAZ;;CAFiC,QAAS;CAzJ5C"}
\ No newline at end of file
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