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
cba3c3bd
Commit
cba3c3bd
authored
Jan 19, 2015
by
Nick Stenning
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo
parent
86b999ee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
bucket-bar.coffee
h/static/scripts/annotator/plugin/bucket-bar.coffee
+1
-1
No files found.
h/static/scripts/annotator/plugin/bucket-bar.coffee
View file @
cba3c3bd
...
@@ -128,7 +128,7 @@ class Annotator.Plugin.BucketBar extends Annotator.Plugin
...
@@ -128,7 +128,7 @@ class Annotator.Plugin.BucketBar extends Annotator.Plugin
dir
=
if
direction
is
"up"
then
+
1
else
-
1
dir
=
if
direction
is
"up"
then
+
1
else
-
1
{
next
}
=
annotations
.
reduce
(
acc
,
ann
)
->
{
next
}
=
annotations
.
reduce
(
acc
,
ann
)
->
{
start
,
next
}
=
acc
{
start
,
next
}
=
acc
anchor
=
ann
.
anchor
ing
.
anchor
s
[
0
]
anchor
=
ann
.
anchors
[
0
]
if
not
next
?
or
start
.
page
*
dir
<
anchor
.
startPage
*
dir
if
not
next
?
or
start
.
page
*
dir
<
anchor
.
startPage
*
dir
# This one is obviously better
# This one is obviously better
start
:
start
:
...
...
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