Skip to content

Commit

Permalink
Removed debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
tetotechy committed Oct 9, 2015
1 parent 08445bc commit 6dc1da2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Impress.elm
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ import String
import StartApp
import Impress.Config exposing (..)

import Debug exposing (log)


update : String -> List Step -> Action -> DeckState -> (DeckState, Effects Action)
update pathName staticSteps action deck =
Expand Down Expand Up @@ -116,7 +114,7 @@ update pathName staticSteps action deck =
if ix /= currentIx then setMove Click ix else noop

GoToId hash ->
case getFromId (String.dropLeft 2 (log "hash" hash)) staticSteps of
case getFromId (String.dropLeft 2 hash) staticSteps of
Just step ->
if step.ix /= currentIx
then setMove Hash step.ix
Expand Down Expand Up @@ -171,7 +169,7 @@ init pathName hashFromAddressBar staticSteps =
, transitioning = False
}
, Effects.task
(replacePath ((log "initial pathname" pathName) ++ "#/" ++ initialStep.id)
(replacePath (pathName ++ "#/" ++ initialStep.id)
`andThen` always (succeed NoOp))
)

Expand Down

0 comments on commit 6dc1da2

Please sign in to comment.