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
ba07dd32
Commit
ba07dd32
authored
Jan 19, 2015
by
Nick Stenning
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgrade to Annotator v1.2.x tip (368b5cf)
parent
8381000a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
10 deletions
+7
-10
annotator.auth.js
h/static/scripts/vendor/annotator.auth.js
+2
-2
annotator.document.js
h/static/scripts/vendor/annotator.document.js
+2
-2
annotator.js
h/static/scripts/vendor/annotator.js
+3
-6
No files found.
h/static/scripts/vendor/annotator.auth.js
View file @
ba07dd32
/*
** Annotator v1.2.9-dev-
b091a74
** Annotator v1.2.9-dev-
368b5cf
** https://github.com/okfn/annotator/
**
** Copyright 2015, the Annotator project contributors.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 2015-01-19 1
1:35:26
Z
** Built at: 2015-01-19 1
6:53:10
Z
*/
...
...
h/static/scripts/vendor/annotator.document.js
View file @
ba07dd32
/*
** Annotator v1.2.9-dev-
b091a74
** Annotator v1.2.9-dev-
368b5cf
** https://github.com/okfn/annotator/
**
** Copyright 2015, the Annotator project contributors.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 2015-01-19 1
1:35:26
Z
** Built at: 2015-01-19 1
6:53:10
Z
*/
...
...
h/static/scripts/vendor/annotator.js
View file @
ba07dd32
/*
** Annotator v1.2.9-dev-
b091a74
** Annotator v1.2.9-dev-
368b5cf
** https://github.com/okfn/annotator/
**
** Copyright 2015, the Annotator project contributors.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 2015-01-19 1
1:35:26
Z
** Built at: 2015-01-19 1
6:53:10
Z
*/
...
...
@@ -1236,9 +1236,6 @@
for
(
_k
=
0
,
_len2
=
_ref1
.
length
;
_k
<
_len2
;
_k
++
)
{
range
=
_ref1
[
_k
];
container
=
range
.
commonAncestor
;
if
(
$
(
container
).
hasClass
(
'annotator-hl'
))
{
container
=
$
(
container
).
parents
(
'[class!=annotator-hl]'
)[
0
];
}
if
(
this
.
isAnnotator
(
container
))
{
return
;
}
...
...
@@ -1251,7 +1248,7 @@
};
Annotator
.
prototype
.
isAnnotator
=
function
(
element
)
{
return
!!
$
(
element
).
parents
().
addBack
().
filter
(
'[class^=annotator-]'
).
not
(
this
.
wrapper
).
length
;
return
!!
$
(
element
).
parents
().
addBack
().
filter
(
'[class^=annotator-]'
).
not
(
'[class=annotator-hl]'
).
not
(
this
.
wrapper
).
length
;
};
Annotator
.
prototype
.
onHighlightMouseover
=
function
(
event
)
{
...
...
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