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
2cad4fc7
Commit
2cad4fc7
authored
Aug 14, 2015
by
Randall Leeds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmm
parent
f7105313
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
8 deletions
+1
-8
annotation-viewer-controller.coffee
h/static/scripts/annotation-viewer-controller.coffee
+0
-1
app-controller.coffee
h/static/scripts/app-controller.coffee
+1
-4
stream-controller.coffee
h/static/scripts/stream-controller.coffee
+0
-1
widget-controller.coffee
h/static/scripts/widget-controller.coffee
+0
-2
No files found.
h/static/scripts/annotation-viewer-controller.coffee
View file @
2cad4fc7
...
...
@@ -11,7 +11,6 @@ module.exports = class AnnotationViewerController
streamer
,
store
,
streamFilter
,
annotationMapper
)
->
# Tells the view that these annotations are standalone
$scope
.
isEmbedded
=
false
$scope
.
isStream
=
false
# Provide no-ops until these methods are moved elsewere. They only apply
...
...
h/static/scripts/app-controller.coffee
View file @
2cad4fc7
...
...
@@ -57,10 +57,7 @@ module.exports = class AppController
$scope
.
shareDialog
=
visible
:
false
# Check to see if we are on the stream page so we can hide share button.
if
$window
.
top
is
$window
$scope
.
showShareButton
=
false
else
$scope
.
showShareButton
=
true
$scope
.
isEmbedded
=
$window
.
top
isnt
$window
cleanupAnnotations
=
->
# Clean up all the annotations
...
...
h/static/scripts/stream-controller.coffee
View file @
2cad4fc7
...
...
@@ -54,7 +54,6 @@ module.exports = class StreamController
# Perform the initial search
fetch
(
20
)
$scope
.
isEmbedded
=
false
$scope
.
isStream
=
true
$scope
.
sort
.
name
=
'Newest'
...
...
h/static/scripts/widget-controller.coffee
View file @
2cad4fc7
...
...
@@ -10,8 +10,6 @@ module.exports = class WidgetController
$scope
,
annotationUI
,
crossframe
,
annotationMapper
,
streamer
,
streamFilter
,
store
)
->
# Tells the view that these annotations are embedded into the owner doc
$scope
.
isEmbedded
=
true
$scope
.
isStream
=
true
@
chunkSize
=
200
...
...
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