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
8da671cc
Commit
8da671cc
authored
Dec 13, 2014
by
Gergely Ujvari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sort imported services alphabetically
parent
b040f21f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
account-controller.coffee
h/static/scripts/account/account-controller.coffee
+2
-2
controllers.coffee
h/static/scripts/controllers.coffee
+6
-4
annotation.coffee
h/static/scripts/directives/annotation.coffee
+2
-2
No files found.
h/static/scripts/account/account-controller.coffee
View file @
8da671cc
class
AccountController
@
inject
=
[
'$scope'
,
'$filter'
,
'
flash'
,
'formHelpers'
,
'identity'
,
'session'
,
'auth
'
]
'
auth'
,
'flash'
,
'formHelpers'
,
'identity'
,
'session
'
]
constructor
:
(
$scope
,
$filter
,
flash
,
formHelpers
,
identity
,
session
,
auth
)
->
auth
,
flash
,
formHelpers
,
identity
,
session
)
->
persona_filter
=
$filter
(
'persona'
)
$scope
.
subscriptionDescription
=
reply
:
'Receive notification emails when: - Someone replies to one of my annotations'
...
...
h/static/scripts/controllers.coffee
View file @
8da671cc
class
AppController
this
.
$inject
=
[
'$location'
,
'$route'
,
'$scope'
,
'$timeout'
,
'annotator'
,
'flash'
,
'identity'
,
'streamer'
,
'streamfilter'
,
'documentHelpers'
,
'drafts'
,
'auth'
'annotator'
,
'auth'
,
'documentHelpers'
,
'drafts'
,
'flash'
,
'identity'
,
'streamer'
,
'streamfilter'
]
constructor
:
(
$location
,
$route
,
$scope
,
$timeout
,
annotator
,
flash
,
identity
,
streamer
,
streamfilter
,
documentHelpers
,
drafts
,
auth
annotator
,
auth
,
documentHelpers
,
drafts
,
flash
,
identity
,
streamer
,
streamfilter
,
)
->
{
plugins
,
host
,
providers
}
=
annotator
...
...
h/static/scripts/directives/annotation.coffee
View file @
8da671cc
...
...
@@ -38,9 +38,9 @@ validate = (value) ->
###
AnnotationController = [
'$scope', '$timeout',
'annotator', '
drafts', 'flash', 'documentHelpers', 'timeHelpers', 'auth
'
'annotator', '
auth', 'drafts', 'flash', 'documentHelpers', 'timeHelpers
'
($scope, $timeout,
annotator,
drafts, flash, documentHelpers, timeHelpers, auth
annotator,
auth, drafts, flash, documentHelpers, timeHelpers
) ->
@annotation = {}
@action = 'view'
...
...
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