{ ... } function clearStatusInput() { ... } events.addListener('status:added', updateStatusesCount); events.addListener('status:added', clearStatusInput); events.addListener('status:added', appendStatus); addStatus($('#new-status textarea').val()); SINGLE RESPONSIBILITY ENKELT Å TESTE ENKLERE Å BRUKE