 
 
   timestamp_to_d3: (commit) ->
+    debugger if !commit? or !commit.timestamp?
     commit.timestamp = d3.time.format("%Y-%m-%dT%XZ").parse(commit.timestamp)
   calculate_files_of: (commit) ->
     commit.aggregated_additions = d3.sum(commit.files, (file)-> file[1])

    Repo.prepared_files = Repo.formated_files

  draw: ->

    Repo.chart.attr
      height: Repo.formated_files.length * 23
    textscale   = d3.scale.linear().domain([0, d3.max(Repo.formated_files, (d)-> d[3] )]).range([0, 100])

do ->
  ls = $('.left.slider')
  rs = $('.right.slider')
  max_width = $('#timeline>svg').innerWidth()
  min_width = 0
  ls_down = false
  rs_down = false
  current_range = []
  down = (e)->
    ls_down = true if (e.data is ls)
    rs_down = true if (e.data is rs)
