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
0c3a527d
Commit
0c3a527d
authored
May 17, 2013
by
Kristof Csillag
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated to latest version of Annotator, which fixes #425.
parent
86a84ee4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
annotator.auth.js
h/lib/annotator.auth.js
+2
-2
annotator.js
h/lib/annotator.js
+4
-4
annotator.permissions.js
h/lib/annotator.permissions.js
+2
-2
annotator.store.js
h/lib/annotator.store.js
+2
-2
No files found.
h/lib/annotator.auth.js
View file @
0c3a527d
/*
/*
** Annotator 1.2.6-dev-
e661e78
** Annotator 1.2.6-dev-
8daf38c
** https://github.com/okfn/annotator/
** https://github.com/okfn/annotator/
**
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
** https://github.com/okfn/annotator/blob/master/LICENSE
**
**
** Built at: 2013-05-
09 08:46:55
Z
** Built at: 2013-05-
17 21:32:30
Z
*/
*/
...
...
h/lib/annotator.js
View file @
0c3a527d
/*
/*
** Annotator 1.2.6-dev-
e661e78
** Annotator 1.2.6-dev-
6014b60
** https://github.com/okfn/annotator/
** https://github.com/okfn/annotator/
**
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
** https://github.com/okfn/annotator/blob/master/LICENSE
**
**
** Built at: 2013-05-
09 08:46:53
Z
** Built at: 2013-05-
17 21:40:10
Z
*/
*/
...
@@ -1444,8 +1444,8 @@
...
@@ -1444,8 +1444,8 @@
Annotator
.
prototype
.
checkForStartSelection
=
function
(
event
)
{
Annotator
.
prototype
.
checkForStartSelection
=
function
(
event
)
{
if
(
!
(
event
&&
this
.
isAnnotator
(
event
.
target
)))
{
if
(
!
(
event
&&
this
.
isAnnotator
(
event
.
target
)))
{
this
.
startViewerHideTimer
();
this
.
startViewerHideTimer
();
return
this
.
mouseIsDown
=
true
;
}
}
return
this
.
mouseIsDown
=
true
;
};
};
Annotator
.
prototype
.
checkForEndSelection
=
function
(
event
)
{
Annotator
.
prototype
.
checkForEndSelection
=
function
(
event
)
{
...
@@ -1471,7 +1471,7 @@
...
@@ -1471,7 +1471,7 @@
range
=
(
Range
.
sniff
(
selector
)).
normalize
(
this
.
wrapper
[
0
]);
range
=
(
Range
.
sniff
(
selector
)).
normalize
(
this
.
wrapper
[
0
]);
container
=
range
.
commonAncestor
;
container
=
range
.
commonAncestor
;
if
(
$
(
container
).
hasClass
(
'annotator-hl'
))
{
if
(
$
(
container
).
hasClass
(
'annotator-hl'
))
{
container
=
$
(
container
).
parents
(
'
[class^=annotator-hl]
'
)[
0
];
container
=
$
(
container
).
parents
(
'
:not([class^=annotator-hl])
'
)[
0
];
}
}
if
(
this
.
isAnnotator
(
container
))
{
if
(
this
.
isAnnotator
(
container
))
{
return
;
return
;
...
...
h/lib/annotator.permissions.js
View file @
0c3a527d
/*
/*
** Annotator 1.2.6-dev-
e661e78
** Annotator 1.2.6-dev-
8daf38c
** https://github.com/okfn/annotator/
** https://github.com/okfn/annotator/
**
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
** https://github.com/okfn/annotator/blob/master/LICENSE
**
**
** Built at: 2013-05-
09 08:46:57
Z
** Built at: 2013-05-
17 21:32:32
Z
*/
*/
...
...
h/lib/annotator.store.js
View file @
0c3a527d
/*
/*
** Annotator 1.2.6-dev-
e661e78
** Annotator 1.2.6-dev-
8daf38c
** https://github.com/okfn/annotator/
** https://github.com/okfn/annotator/
**
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
** https://github.com/okfn/annotator/blob/master/LICENSE
**
**
** Built at: 2013-05-
09 08:46:57
Z
** Built at: 2013-05-
17 21:32:33
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