     
     Repo.sort_files()
 
-    Repo.move_to_new_position()
+    Repo.move_to_new_position() 
 
   move_to_new_position: ->
     Repo.chart.selectAll("rect.deletions")

#= require d3
#Array.prototype.inject = (init, fn) -> this.reduce(fn, init)
filter = () -> 
  a = $('#filter').val()
  window.Repo.filter(a)
  window.Repo.move_to_new_position()

$('#filter').on("input",filter)

window.timeline_chart = do -> 
  t = {}


$.getJSON Repo.url, Repo.init
window.t = timeline_chart

f = $('#filter')
filter = () -> 
  a = f.val()
  window.Repo.filter(a)
  window.Repo.move_to_new_position()

f.on("input",filter)
