 
 # Turbolinks
 $(document).on('turbolinks:load', load)
+# ------------

    go_to prev, refresh
  else
    go_to host.current_cue, refresh

schedule_tick = (tick_f) ->
  actual = (new Date().getTime()) - host.ticker_start
  setTimeout tick_f, 1000 - (actual - host.ticker_elapsed)

tick = ->
  if host.play
    host.ticker_elapsed += 1000
    host.ticker_remaining-- if host.ticker_remaining # Ensure that it's not made negative

# --- Time-string helper functions ---
twoDigit = (num) ->
  if num > 9
    return "" + num
