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
9e45109d
Commit
9e45109d
authored
Feb 26, 2014
by
Randall Leeds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whitespace
parent
d256c197
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
controllers.coffee
h/js/controllers.coffee
+2
-2
services.coffee
h/js/services.coffee
+1
-0
No files found.
h/js/controllers.coffee
View file @
9e45109d
...
@@ -845,11 +845,11 @@ class Search
...
@@ -845,11 +845,11 @@ class Search
$scope
.
openDetails
=
(
annotation
)
->
$scope
.
openDetails
=
(
annotation
)
->
# Temporary workaround, until search result annotation card
# Temporary workaround, until search result annotation card
# scopes get their 'annotation' fields, too.
# scopes get their 'annotation' fields, too.
return
unless
annotation
return
unless
annotation
for
p
in
providers
for
p
in
providers
p
.
channel
.
notify
p
.
channel
.
notify
method
:
'scrollTo'
method
:
'scrollTo'
params
:
annotation
.
$
$tag
params
:
annotation
.
$
$tag
refresh
=
=>
refresh
=
=>
$scope
.
search_filter
=
$routeParams
.
matched
$scope
.
search_filter
=
$routeParams
.
matched
...
...
h/js/services.coffee
View file @
9e45109d
...
@@ -530,6 +530,7 @@ class Hypothesis extends Annotator
...
@@ -530,6 +530,7 @@ class Hypothesis extends Annotator
discardDrafts
:
->
discardDrafts
:
->
return
@
element
.
injector
().
get
(
'drafts'
).
discard
()
return
@
element
.
injector
().
get
(
'drafts'
).
discard
()
class
AuthenticationProvider
class
AuthenticationProvider
constructor
:
->
constructor
:
->
@
actions
=
@
actions
=
...
...
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