Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
archery
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
archery
Commits
1e545532
Commit
1e545532
authored
Jan 18, 2016
by
Taddeüs Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some debug statements
parent
6b52c9fa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
coffee/forms.coffee
coffee/forms.coffee
+0
-1
coffee/scores.coffee
coffee/scores.coffee
+0
-2
No files found.
coffee/forms.coffee
View file @
1e545532
...
@@ -68,7 +68,6 @@ if container = document.querySelector '.tags-control'
...
@@ -68,7 +68,6 @@ if container = document.querySelector '.tags-control'
e
.
parentNode
.
removeChild
e
e
.
parentNode
.
removeChild
e
for
e
in
container
.
querySelectorAll
'.tag .text'
for
e
in
container
.
querySelectorAll
'.tag .text'
console
.
log
e
,
e
.
textContent
container
.
appendChild
mkelem
'input'
,
''
,
container
.
appendChild
mkelem
'input'
,
''
,
type
:
'hidden'
,
name
:
'tags[]'
,
value
:
e
.
textContent
type
:
'hidden'
,
name
:
'tags[]'
,
value
:
e
.
textContent
...
...
coffee/scores.coffee
View file @
1e545532
...
@@ -67,14 +67,12 @@ if table.classList.contains 'match-editable'
...
@@ -67,14 +67,12 @@ if table.classList.contains 'match-editable'
# total scores toggling + persistence in local storage
# total scores toggling + persistence in local storage
toggle_totals
=
document
.
getElementById
'toggle-total-scores'
toggle_totals
=
document
.
getElementById
'toggle-total-scores'
console
.
log
toggle_totals
if
'localStorage'
of
window
and
localStorage
.
getItem
'hide-total-scores'
if
'localStorage'
of
window
and
localStorage
.
getItem
'hide-total-scores'
table
.
classList
.
add
'hide-total-scores'
table
.
classList
.
add
'hide-total-scores'
toggle_totals
.
classList
.
remove
'active'
toggle_totals
.
classList
.
remove
'active'
toggle_totals
.
addEventListener
'click'
,
->
toggle_totals
.
addEventListener
'click'
,
->
console
.
log
'x'
@
.
classList
.
toggle
'active'
@
.
classList
.
toggle
'active'
@
.
blur
()
@
.
blur
()
hide
=
table
.
classList
.
toggle
'hide-total-scores'
hide
=
table
.
classList
.
toggle
'hide-total-scores'
...
...
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