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
2faa71be
Commit
2faa71be
authored
Feb 17, 2014
by
Ujvari Gergely
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refresh annotator to 03c98690249e464318b2b9856d2559b73b8f3d18 in typed-packaging
parent
076e87d6
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
71 additions
and
36 deletions
+71
-36
document.coffee
h/lib/_annotator_mapsrc/src/plugin/document.coffee
+12
-2
pdf.coffee
h/lib/_annotator_mapsrc/src/plugin/pdf.coffee
+2
-3
store.coffee
h/lib/_annotator_mapsrc/src/plugin/store.coffee
+4
-1
annotator.auth.js
h/lib/annotator.auth.js
+2
-2
annotator.document.js
h/lib/annotator.document.js
+24
-2
annotator.document.map
h/lib/annotator.document.map
+1
-1
annotator.fuzzytextanchors.js
h/lib/annotator.fuzzytextanchors.js
+2
-2
annotator.js
h/lib/annotator.js
+2
-2
annotator.pdf.js
h/lib/annotator.pdf.js
+5
-8
annotator.pdf.map
h/lib/annotator.pdf.map
+1
-1
annotator.permissions.js
h/lib/annotator.permissions.js
+2
-2
annotator.store.js
h/lib/annotator.store.js
+9
-5
annotator.store.map
h/lib/annotator.store.map
+1
-1
annotator.textanchors.js
h/lib/annotator.textanchors.js
+2
-2
annotator.texthighlights.js
h/lib/annotator.texthighlights.js
+2
-2
No files found.
h/lib/_annotator_mapsrc/src/plugin/document.coffee
View file @
2faa71be
...
...
@@ -40,6 +40,7 @@ class Annotator.Plugin.Document extends Annotator.Plugin
this
.
_getPrism
()
this
.
_getTwitter
()
this
.
_getFavicon
()
this
.
_getDocOwners
()
# extract out/normalize some things
this
.
_getTitle
()
...
...
@@ -139,9 +140,18 @@ class Annotator.Plugin.Document extends Annotator.Plugin
for
link
in
$
(
"link"
)
if
$
(
link
).
prop
(
"rel"
)
in
[
"shortcut icon"
,
"icon"
]
@
metadata
[
"favicon"
]
=
this
.
_absoluteUrl
(
link
.
href
)
_getDocOwners
:
=>
@
metadata
.
reply_to
=
[]
for
a
in
$
(
"a"
)
if
a
.
rel
is
'reply-to'
if
a
.
href
.
toLowerCase
().
slice
(
0
,
7
)
is
"mailto:"
@
metadata
.
reply_to
.
push
a
.
href
[
7
..]
else
@
metadata
.
reply_to
.
push
a
.
href
# hack to get a absolute url from a possibly relative one
_absoluteUrl
:
(
url
)
->
img
=
$
(
"<img src='
#{
url
}
'></img>"
)
url
=
img
.
prop
(
'src'
)
...
...
h/lib/_annotator_mapsrc/src/plugin/pdf.coffee
View file @
2faa71be
...
...
@@ -58,10 +58,9 @@ class window.PDFTextMapper extends window.PageTextMapperCore
# Must be a cross-page selection.
if
data
.
start
?
and
data
.
end
?
startPage
=
@
getPageForNode
data
.
start
@
_updateMap
@
pageInfo
[
startPage
.
index
]
endPage
=
@
getPageForNode
data
.
end
for
index
in
[
startPage
.
index
..
endPage
.
index
]
#console.log "Should rescan page #" + index
@
_updateMap
@
pageInfo
[
index
]
@
_updateMap
@
pageInfo
[
endPage
.
index
]
$
(
PDFView
.
container
).
on
'scroll'
,
=>
@
_onScroll
()
...
...
h/lib/_annotator_mapsrc/src/plugin/store.coffee
View file @
2faa71be
...
...
@@ -176,7 +176,10 @@ class Annotator.Plugin.Store extends Annotator.Plugin
# Returns nothing.
annotationDeleted
:
(
annotation
)
->
if
annotation
in
this
.
annotations
this
.
_apiRequest
'destroy'
,
annotation
,
(()
=>
this
.
unregisterAnnotation
(
annotation
))
if
annotation
.
_clientdeleteonly
?
this
.
unregisterAnnotation
annotation
else
this
.
_apiRequest
'destroy'
,
annotation
,
(()
=>
this
.
unregisterAnnotation
(
annotation
))
# Public: Registers an annotation with the Store. Used to check whether an
# annotation has already been created when using Store#annotationCreated().
...
...
h/lib/annotator.auth.js
View file @
2faa71be
// Generated by CoffeeScript 1.6.3
/*
** Annotator 1.2.6-dev-
272fa6d
** Annotator 1.2.6-dev-
5352913
** https://github.com/okfn/annotator/
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 2013-1
1-14 10:14:18
Z
** Built at: 2013-1
2-16 13:46:44
Z
*/
...
...
h/lib/annotator.document.js
View file @
2faa71be
// Generated by CoffeeScript 1.6.3
/*
** Annotator 1.2.6-dev-
272fa6d
** Annotator 1.2.6-dev-
3cbddbb
** https://github.com/okfn/annotator/
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 201
3-11-14 10:14:18
Z
** Built at: 201
4-02-17 14:21:09
Z
*/
...
...
@@ -29,6 +29,7 @@
__extends
(
Document
,
_super
);
function
Document
()
{
this
.
_getDocOwners
=
__bind
(
this
.
_getDocOwners
,
this
);
this
.
_getFavicon
=
__bind
(
this
.
_getFavicon
,
this
);
this
.
_getLinks
=
__bind
(
this
.
_getLinks
,
this
);
this
.
_getTitle
=
__bind
(
this
.
_getTitle
,
this
);
...
...
@@ -103,6 +104,7 @@
this
.
_getPrism
();
this
.
_getTwitter
();
this
.
_getFavicon
();
this
.
_getDocOwners
();
this
.
_getTitle
();
this
.
_getLinks
();
return
this
.
metadata
;
...
...
@@ -261,6 +263,26 @@
return
_results
;
};
Document
.
prototype
.
_getDocOwners
=
function
()
{
var
a
,
_i
,
_len
,
_ref1
,
_results
;
this
.
metadata
.
reply_to
=
[];
_ref1
=
$
(
"a"
);
_results
=
[];
for
(
_i
=
0
,
_len
=
_ref1
.
length
;
_i
<
_len
;
_i
++
)
{
a
=
_ref1
[
_i
];
if
(
a
.
rel
===
'reply-to'
)
{
if
(
a
.
href
.
toLowerCase
().
slice
(
0
,
7
)
===
"mailto:"
)
{
_results
.
push
(
this
.
metadata
.
reply_to
.
push
(
a
.
href
.
slice
(
7
)));
}
else
{
_results
.
push
(
this
.
metadata
.
reply_to
.
push
(
a
.
href
));
}
}
else
{
_results
.
push
(
void
0
);
}
}
return
_results
;
};
Document
.
prototype
.
_absoluteUrl
=
function
(
url
)
{
var
img
;
img
=
$
(
"<img src='"
+
url
+
"'></img>"
);
...
...
h/lib/annotator.document.map
View file @
2faa71be
{"version":3,"file":"annotator.document.js","sources":["_preamble.coffee","_annotator_mapsrc/src/plugin/document.coffee"],"names":[],"mappings":";AAAA;;;;;;;;;;CAAA;CAAA;;;;;;;ACAA;CAAA,GAAA,EAAA;KAAA;;oSAAA;;CAAA,CAAM,IAAgB,GAAP;CAEb,OAAA;;CAAA;;;;;;;;;;;;;;;;;;;CAAA;;CAAA,EAAI,CAAJ,KAAa;;CAAb,EAGE,GADF;CACE,CAA2B,IAA3B,mBAAA;CAHF,KAAA;;CAAA,EAKY,MAAA,CAAZ;CACO,GAAD,SAAJ,MAAA;CANF,IAKY;;CALZ,EAUA,MAAK;CACH,SAAA,gBAAA;CAAA,EAAA,CAAM,EAAN,EAAiC,UAA3B;CACN;CAAA,UAAA,iCAAA;0BAAA;CACE,EAAG,CAAA,CAAY,GAAf,GAAA;CACE,EAAA,CAAU,MAAV;UAFJ;CAAA,MADA;CAIA,EAAA,UAAO;CAfT,IAUK;;CAVL,EAmBM,CAAN,KAAM;CACJ,SAAA,6BAAA;CAAA,CAAA,CAAa,GAAb,IAAA;CACA;CAAA,UAAA,iCAAA;0BAAA;CACE,GAAgC,IAAhC;CAAA,EAAwB,CAAT,MAAf;UADF;C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CAAA,UAAA;CAFpB,aAEA;CAHF,UADF;UAZF;CAAA,MAZA;CA+BA;CAAA;YAAA,CAAA;8BAAA;CACE,GAAG,CAAQ,GAAX,IAAA;;;AACE,CAAA;kBAAA,6BAAA;+BAAA;CACE,CAAM,EAAH,CAAY,CAAf,MAAG,EAAH;CACE,GAAC,IAAQ;CAAW,CAAM,EAAN,cAAA;CADtB,iBACE;MADF,UAAA;CAAA;gBADF;CAAA;;CADF;MAAA,IAAA;CAAA;UADF;CAAA;uBAjCS;CAjGX,IAiGW;;CAjGX,EAwIa,MAAA,EAAb;CACE,SAAA,4BAAA;CAAA;CAAA;YAAA,gCAAA;0BAAA;CACE,EAAG,CAAA,CAAA,CAAH,EAAA,OAAG;CACD,EAAuB,CAAtB,IAAS,CAAA,GAAa;MADzB,IAAA;CAAA;UADF;CAAA;uBADW;CAxIb,IAwIa;;CAxIb,EA6Ie,MAAA,IAAf;CACE,SAAA,kBAAA;CAAA,CAAA,CAAqB,CAApB,EAAD,EAAS;CAET;CAAA;YAAA,gCAAA;uBAAA;CACE,EAAG,CAAA,CAAS,GAAZ,EAAA;CACE,CAAgC,EAA7B,CAAA,IAAH,CAAA,CAAG;CACD,GAAC,IAAQ,CAAT;MADF,MAAA;CAGE,GAAC,IAAQ;YAJb;MAAA,IAAA;CAAA;UADF;CAAA;uBAHa;CA7If,IA6Ie;;CA7If,EAwJc,MAAC,GAAf;CACE,EAAA,OAAA;CAAA,EAAA,GAAA,IAAM,EAAG;CAAT,EACA,CAAM,CAAA,CAAN;CADA,CAEgB,CAAb,CAAH,CAAA,CAAA;CACA,EAAA,UAAO;CA5JT,IAwJc;;CAxJd;;CAFsC,QAAS;CAAjD"}
\ No newline at end of file
h/lib/annotator.fuzzytextanchors.js
View file @
2faa71be
// Generated by CoffeeScript 1.6.3
/*
** Annotator 1.2.6-dev-
eabb32a
** Annotator 1.2.6-dev-
3cbddbb
** https://github.com/okfn/annotator/
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 201
3-11-26 12:46:19
Z
** Built at: 201
4-02-17 13:39:52
Z
*/
...
...
h/lib/annotator.js
View file @
2faa71be
// Generated by CoffeeScript 1.6.3
/*
** Annotator 1.2.6-dev-
fbfefb3
** Annotator 1.2.6-dev-
3cbddbb
** https://github.com/okfn/annotator/
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 201
3-12-03 20:14:22
Z
** Built at: 201
4-02-17 13:39:47
Z
*/
...
...
h/lib/annotator.pdf.js
View file @
2faa71be
// Generated by CoffeeScript 1.6.3
/*
** Annotator 1.2.6-dev-
6bedfd2
** Annotator 1.2.6-dev-
3cbddbb
** https://github.com/okfn/annotator/
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 201
3-11-28 18:04:55
Z
** Built at: 201
4-02-17 13:39:53
Z
*/
...
...
@@ -81,19 +81,16 @@
});
viewer
=
document
.
getElementById
(
"viewer"
);
viewer
.
addEventListener
(
"domChange"
,
function
(
event
)
{
var
data
,
endPage
,
index
,
node
,
startPage
,
_i
,
_ref
,
_ref1
,
_results
;
var
data
,
endPage
,
node
,
startPage
;
node
=
event
.
srcElement
;
data
=
event
.
data
;
if
(
"viewer"
===
(
typeof
node
.
getAttribute
===
"function"
?
node
.
getAttribute
(
"id"
)
:
void
0
))
{
console
.
log
(
"Detected cross-page change event."
);
if
((
data
.
start
!=
null
)
&&
(
data
.
end
!=
null
))
{
startPage
=
_this
.
getPageForNode
(
data
.
start
);
_this
.
_updateMap
(
_this
.
pageInfo
[
startPage
.
index
]);
endPage
=
_this
.
getPageForNode
(
data
.
end
);
_results
=
[];
for
(
index
=
_i
=
_ref
=
startPage
.
index
,
_ref1
=
endPage
.
index
;
_ref
<=
_ref1
?
_i
<=
_ref1
:
_i
>=
_ref1
;
index
=
_ref
<=
_ref1
?
++
_i
:
--
_i
)
{
_results
.
push
(
_this
.
_updateMap
(
_this
.
pageInfo
[
index
]));
}
return
_results
;
return
_this
.
_updateMap
(
_this
.
pageInfo
[
endPage
.
index
]);
}
}
});
...
...
h/lib/annotator.pdf.map
View file @
2faa71be
{"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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.permissions.js
View file @
2faa71be
// Generated by CoffeeScript 1.6.3
/*
** Annotator 1.2.6-dev-
92fb6e4
** Annotator 1.2.6-dev-
5352913
** https://github.com/okfn/annotator/
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 2013-1
1-18 12:15:22
Z
** Built at: 2013-1
2-16 13:46:48
Z
*/
...
...
h/lib/annotator.store.js
View file @
2faa71be
// Generated by CoffeeScript 1.6.3
/*
** Annotator 1.2.6-dev-
59c78a6
** Annotator 1.2.6-dev-
7017d90
** https://github.com/okfn/annotator/
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 201
3-11-27 18:11:54
Z
** Built at: 201
4-01-11 13:34:18
Z
*/
...
...
@@ -101,9 +101,13 @@
Store
.
prototype
.
annotationDeleted
=
function
(
annotation
)
{
var
_this
=
this
;
if
(
__indexOf
.
call
(
this
.
annotations
,
annotation
)
>=
0
)
{
return
this
.
_apiRequest
(
'destroy'
,
annotation
,
(
function
()
{
return
_this
.
unregisterAnnotation
(
annotation
);
}));
if
(
annotation
.
_clientdeleteonly
!=
null
)
{
return
this
.
unregisterAnnotation
(
annotation
);
}
else
{
return
this
.
_apiRequest
(
'destroy'
,
annotation
,
(
function
()
{
return
_this
.
unregisterAnnotation
(
annotation
);
}));
}
}
};
...
...
h/lib/annotator.store.map
View file @
2faa71be
{"version":3,"file":"annotator.store.js","sources":["_preamble.coffee","_annotator_mapsrc/src/plugin/store.coffee"],"names":[],"mappings":";AAAA;;;;;;;;;;CAAA;CAAA;;;;;;;ACiBA;CAAA,KAAA;;;0JAAA;;CAAA,CAAM,IAAgB,GAAP;CAKb;;CAAA,EACE,GADF;CACE,CAAqB,IAArB,aAAA;CAAA,CACqB,IAArB,aAAA;CADA,CAEqB,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A,gCAAA;0BAAA;CACE,GAAG,IAAH,iBAAA;CACE,EAAe,EAAT,KAAN;AACA,CADA,IACkB,CAAlB,IAAA;UAHJ;CAAA,MADA;CAAA,CAOqB,EAAC,EAAtB,CAA6B,GAA7B,IAAA;CAPA,EAQO,CAAP,EAAA,GAAO,CAAA;AAGP,CAAA,SAAA,CAAA;sBAAA;CACE,EAAgB,KAAhB,EAAW;CADb,MAXA;CAHQ,YAiBR;CAvcF,IAsbU;;CAtbV,EA+cU,KAAV,CAAW;CACT,SAAA,KAAA;CAAA,EAAU,GAAV,CAAA;CAAA,CACU,CAAA,GAAV,CAAA,EAAmB,SAAsC,GAA/C;CAEV,EAAM,CAAH,CAAe,CAAlB,CAAG,CAAH;CACE,CAAU,CAAA,IAAV,CAAA,CAAmB,4CAAT;AACsB,CAAtB,EAAD,CAAH,CAAe,CAFvB,CAEQ,CAFR;CAGE,CAAU,CAAA,GAAA,CAAV,CAAA,CAAmB,YAAT,YAA+C;QAN3D;CAQA,EAAU,GAAV,QAAO;CAAP,EAAA,UACO;CAAS,CAAU,CAAA,GAAA,CAAV,EAAmB,CAAnB,QAAmE,aAAzD;CAAnB;CADP,EAAA,UAEO;CAAS,CAAU,CAAA,IAAV,EAAmB,CAAnB,2CAAU;CAAnB;CAFP,EAAA,UAGO;CAAS,CAAU,CAAA,IAAV,EAAmB,CAAnB,4CAAU;CAH1B,MARA;CAAA,CAaoC,GAApC,CAAA,CAAA,EAAS,GAAiD,IAA1D;CAEQ,CAAM,CAAsC,CAAC,CAArD,CAAqD,CAA9C,EAAgB,IAAvB,QAAc;CA/dhB,IA+cU;;CA/cV;;CALmC,QAAS;CAA9C"}
\ No newline at end of file
{"version":3,"file":"annotator.store.js","sources":["_preamble.coffee","_annotator_mapsrc/src/plugin/store.coffee"],"names":[],"mappings":";AAAA;;;;;;;;;;CAAA;CAAA;;;;;;;ACiBA;CAAA,KAAA;;;0JAAA;;CAAA,CAAM,IAAgB,GAAP;CAKb;;CAAA,EACE,G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annotator 1.2.6-dev-
dd6f102
** Annotator 1.2.6-dev-
3cbddbb
** https://github.com/okfn/annotator/
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 201
3-11-28 13:26:36
Z
** Built at: 201
4-02-17 13:39:51
Z
*/
...
...
h/lib/annotator.texthighlights.js
View file @
2faa71be
// Generated by CoffeeScript 1.6.3
/*
** Annotator 1.2.6-dev-
c90ac7c
** Annotator 1.2.6-dev-
3cbddbb
** https://github.com/okfn/annotator/
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 201
3-12-09 23:42:19
Z
** Built at: 201
4-02-17 13:39:50
Z
*/
...
...
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