Commit 884498c59f7083423eac7232091ff24215f4a0c7
Exists in
master
and in
4 other branches
Merge pull request #4410 from senny/dont_console_log_in_code
we should not use `console.log` in production code...
Showing
1 changed file
with
1 additions
and
3 deletions
Show diff stats
app/assets/javascripts/dispatcher.js.coffee
| 1 | $ -> | 1 | $ -> |
| 2 | new Dispatcher() | 2 | new Dispatcher() |
| 3 | - | 3 | + |
| 4 | class Dispatcher | 4 | class Dispatcher |
| 5 | constructor: () -> | 5 | constructor: () -> |
| 6 | @initSearch() | 6 | @initSearch() |
| @@ -10,8 +10,6 @@ class Dispatcher | @@ -10,8 +10,6 @@ class Dispatcher | ||
| 10 | page = $('body').attr('data-page') | 10 | page = $('body').attr('data-page') |
| 11 | project_id = $('body').attr('data-project-id') | 11 | project_id = $('body').attr('data-project-id') |
| 12 | 12 | ||
| 13 | - console.log(page) | ||
| 14 | - | ||
| 15 | unless page | 13 | unless page |
| 16 | return false | 14 | return false |
| 17 | 15 |