main
1# Place all the behaviors and hooks related to the matching controller here.
2# All this logic will automatically be available in application.js.
3# You can use CoffeeScript in this file: http://coffeescript.org/
4
5class window.EventsFeed
6 start: (pollingInterval, refreshLink)->
7 window.setTimeout (->
8 console.log('refreshing...')
9 $("#{refreshLink}")[0].click()
10 return
11 ), pollingInterval