       $(document).on 'online', => @launch() if not @isLaunchComplete
 
 
-  # Check EULA and launch the app once EULA is accepted.  
+  # Check EULA and launch the app once EULA is accepted.
   # `callback` Callback function invoked when accepted
   checkEULA: (callback) ->
     LoggrUtil.isEulaAccepted (val) ->

    $('body div#app').empty().show()
    .append(new Hogan.Template(T.home).render({isRetina: UI.isRetina()}))

    $('#mainNav li').on "touchstart", (event) =>
      event.preventDefault()
      switch event.currentTarget.id
        when "recentNav" then @showHash '#recent' + Model.getLastType() + 's'

        , false


  # Init function
  # Adds event listeners and checks if EULA has been accepted
  init: ->
    LoggrUtil.log "init"
