       window.location = $(@).parent().data('url')  
 
 
+# Toggle the spinning / non-spinning state of the project
+# refresh button
 set_icon = (project_id, is_working) ->
   button = $("#test-button-#{project_id}")
   spin   = 'fa-spin'

        # based on the difference in timestamps
        for p_id, proj of data.projects
          if proj.queued == 'false' and project_is_updated(p_id, proj.tested_at)
            # Update whichever works:
            update_project_tile(p_id)
            update_project_page(p_id)

        add_action_to_project_tiles()
        )

      .fail( ->



ready = ->
    add_click_to_project_tiles()
    add_click_action_to_test_button()

    $('.project-tile').hover ->
