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
f9f6c771
Commit
f9f6c771
authored
Mar 14, 2015
by
Jake Hartnell
Committed by
Randall Leeds
Mar 17, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore and modify needed test.
Clean up and delete a few unneeded things.
parent
b11f99a8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
6 deletions
+24
-6
annotation-test.coffee
h/static/scripts/directives/test/annotation-test.coffee
+23
-0
help-page.scss
h/static/styles/help-page.scss
+0
-5
variables.scss
h/static/styles/variables.scss
+1
-1
No files found.
h/static/scripts/directives/test/annotation-test.coffee
View file @
f9f6c771
...
...
@@ -97,6 +97,29 @@ describe 'h.directives.annotation', ->
afterEach
->
sandbox
.
restore
()
describe
'when the annotation is a highlight'
,
->
beforeEach
->
annotation
.
$create
=
sinon
.
stub
().
returns
then
:
angular
.
noop
catch
:
angular
.
noop
finally
:
angular
.
noop
it
'persists upon login'
,
->
delete
annotation
.
id
delete
annotation
.
user
controller
=
createController
()
$scope
.
$digest
()
assert
.
notCalled
annotation
.
$create
annotation
.
user
=
'acct:ted@wyldstallyns.com'
$scope
.
$digest
()
assert
.
calledOnce
annotation
.
$create
it
'is private'
,
->
delete
annotation
.
id
controller
=
createController
()
$scope
.
$digest
()
assert
.
deepEqual
annotation
.
permissions
,
{
read
:
[
'justme'
]}
describe
'#reply'
,
->
controller
=
null
container
=
null
...
...
h/static/styles/help-page.scss
View file @
f9f6c771
...
...
@@ -35,11 +35,6 @@
font-size
:
1
.5em
;
}
.help-page-heading
,
.help-page-lede
{
// text-align: center;
}
.help-page-lede
{
font-style
:
italic
;
margin-bottom
:
2
.5em
;
...
...
h/static/styles/variables.scss
View file @
f9f6c771
...
...
@@ -35,7 +35,7 @@ $link-color-hover: $hypothered !default;
// Typography
// -------------------------
$sans-font-family
:
"
Lato"
,
"
Helvetica Neue"
,
Helvetica
,
Arial
,
"Lucida Grande"
,
sans-serif
!
default
;
$sans-font-family
:
"Helvetica Neue"
,
Helvetica
,
Arial
,
"Lucida Grande"
,
sans-serif
!
default
;
$serif-font-family
:
Georgia
,
"Bitstream Charter"
,
"Times"
,
"Times New Roman"
,
serif
!
default
;
$mono-font-family
:
Open
Sans
Mono
,
Menlo
,
DejaVu
Sans
Mono
,
monospace
!
default
;
...
...
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