 #= 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 = {}

        class: "bar-label"
        x: 5
        y: (f, i) -> i * 21 + 17

      
  set_labels: ->  



$.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)
