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
158030d6
Commit
158030d6
authored
May 11, 2015
by
Gergely Ujvari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgrade to Annotator v1.2.x tip (6536160)
parent
aa015b53
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
annotator.auth.js
h/static/scripts/vendor/annotator.auth.js
+2
-2
annotator.document.js
h/static/scripts/vendor/annotator.document.js
+3
-3
annotator.js
h/static/scripts/vendor/annotator.js
+6
-6
No files found.
h/static/scripts/vendor/annotator.auth.js
View file @
158030d6
/*
/*
** Annotator v1.2.
9-dev-57f15b8
** Annotator v1.2.
10-dev-6536160
** https://github.com/okfn/annotator/
** https://github.com/okfn/annotator/
**
**
** Copyright 2015, the Annotator project contributors.
** Copyright 2015, the Annotator project contributors.
** 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: 2015-0
1-30 15:29:04
Z
** Built at: 2015-0
5-11 18:53:38
Z
*/
*/
...
...
h/static/scripts/vendor/annotator.document.js
View file @
158030d6
/*
/*
** Annotator v1.2.
9-dev-57f15b8
** Annotator v1.2.
10-dev-6536160
** https://github.com/okfn/annotator/
** https://github.com/okfn/annotator/
**
**
** Copyright 2015, the Annotator project contributors.
** Copyright 2015, the Annotator project contributors.
** 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: 2015-0
1-30 15:29:04
Z
** Built at: 2015-0
5-11 18:53:38
Z
*/
*/
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
Document
.
prototype
.
uri
=
function
()
{
Document
.
prototype
.
uri
=
function
()
{
var
link
,
uri
,
_i
,
_len
,
_ref1
;
var
link
,
uri
,
_i
,
_len
,
_ref1
;
uri
=
decodeURIComponent
(
document
.
location
.
href
);
uri
=
decodeURIComponent
(
document
.
location
.
href
);
_ref1
=
this
.
metadata
;
_ref1
=
this
.
metadata
.
link
;
for
(
_i
=
0
,
_len
=
_ref1
.
length
;
_i
<
_len
;
_i
++
)
{
for
(
_i
=
0
,
_len
=
_ref1
.
length
;
_i
<
_len
;
_i
++
)
{
link
=
_ref1
[
_i
];
link
=
_ref1
[
_i
];
if
(
link
.
rel
===
"canonical"
)
{
if
(
link
.
rel
===
"canonical"
)
{
...
...
h/static/scripts/vendor/annotator.js
View file @
158030d6
/*
/*
** Annotator v1.2.
9-dev-57f15b8
** Annotator v1.2.
10-dev-6536160
** https://github.com/okfn/annotator/
** https://github.com/okfn/annotator/
**
**
** Copyright 2015, the Annotator project contributors.
** Copyright 2015, the Annotator project contributors.
** 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: 2015-0
1-30 15:29:04
Z
** Built at: 2015-0
5-11 18:53:38
Z
*/
*/
...
@@ -1670,16 +1670,16 @@
...
@@ -1670,16 +1670,16 @@
left
:
event
.
pageX
-
mousedown
.
left
left
:
event
.
pageX
-
mousedown
.
left
};
};
if
(
mousedown
.
element
===
resize
[
0
])
{
if
(
mousedown
.
element
===
resize
[
0
])
{
height
=
textarea
.
outerH
eight
();
height
=
textarea
.
h
eight
();
width
=
textarea
.
outerW
idth
();
width
=
textarea
.
w
idth
();
directionX
=
editor
.
hasClass
(
classes
.
invert
.
x
)
?
-
1
:
1
;
directionX
=
editor
.
hasClass
(
classes
.
invert
.
x
)
?
-
1
:
1
;
directionY
=
editor
.
hasClass
(
classes
.
invert
.
y
)
?
1
:
-
1
;
directionY
=
editor
.
hasClass
(
classes
.
invert
.
y
)
?
1
:
-
1
;
textarea
.
height
(
height
+
(
diff
.
top
*
directionY
));
textarea
.
height
(
height
+
(
diff
.
top
*
directionY
));
textarea
.
width
(
width
+
(
diff
.
left
*
directionX
));
textarea
.
width
(
width
+
(
diff
.
left
*
directionX
));
if
(
textarea
.
outerH
eight
()
!==
height
)
{
if
(
textarea
.
h
eight
()
!==
height
)
{
mousedown
.
top
=
event
.
pageY
;
mousedown
.
top
=
event
.
pageY
;
}
}
if
(
textarea
.
outerW
idth
()
!==
width
)
{
if
(
textarea
.
w
idth
()
!==
width
)
{
mousedown
.
left
=
event
.
pageX
;
mousedown
.
left
=
event
.
pageX
;
}
}
}
else
if
(
mousedown
.
element
===
controls
[
0
])
{
}
else
if
(
mousedown
.
element
===
controls
[
0
])
{
...
...
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