Skip to content

Commit

Permalink
iOS status bar styling (uncommitted change)
Browse files Browse the repository at this point in the history
+ some refactoring
  • Loading branch information
srid committed Jun 20, 2015
1 parent 5133b34 commit 920db42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions index.html
Expand Up @@ -7,6 +7,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-title" content="Chronicle">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="mobile-web-app-capable" content="yes">

<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
Expand Down
5 changes: 3 additions & 2 deletions src/Chronicle/Main.elm
Expand Up @@ -38,8 +38,9 @@ request =

runAndSend : Signal.Mailbox Controller.Action -> Controller.Request -> Task Http.Error ()
runAndSend mailbox r =
withErrorLogging <| Controller.run (log "[REQUEST]" r)
`andThen` (\action -> Signal.send mailbox.address <| logAction "[FORWARD ACTION]" action)
withErrorLogging
<| Controller.run (log "[REQUEST]" r)
`andThen` (logAction "[FORWARD ACTION]" >> Signal.send mailbox.address)

withErrorLogging : Task x a -> Task x a
withErrorLogging task =
Expand Down

0 comments on commit 920db42

Please sign in to comment.