Sha256: 84b1bd0a97688d7cc298f643ae88be1c288f07902beca5034d3481681dcc8930

Contents?: true

Size: 263 Bytes

Versions: 35

Compression:

Stored size: 263 Bytes

Contents

WidgetList = Backbone.Collection.extend {
	model: Widget

	setContext: (@pageInfos) ->

	url: -> ROOT + 'pages/' + @pageInfos.selected().id + '/widgets'

	startPolling: ->
		setInterval( =>
			if @pageInfos.selected()
				@each (w) ->
					w.refetch()
		, 200)
}

Version data entries

35 entries across 35 versions & 3 rubygems

Version Path
pulse_meter_visualizer-0.4.12 lib/pulse_meter/visualize/coffee/collections/widget_list.coffee
pulse_meter_visualizer-0.4.11 lib/pulse_meter/visualize/coffee/collections/widget_list.coffee
pulse-meter-0.4.9 lib/pulse-meter/visualize/coffee/collections/widget_list.coffee
pulse-meter-0.4.8 lib/pulse-meter/visualize/coffee/collections/widget_list.coffee
pulse-meter-0.4.7 lib/pulse-meter/visualize/coffee/collections/widget_list.coffee
pulse-meter-0.4.6 lib/pulse-meter/visualize/coffee/collections/widget_list.coffee
pulse-meter-0.4.5 lib/pulse-meter/visualize/coffee/collections/widget_list.coffee
pulse-meter-0.4.4 lib/pulse-meter/visualize/coffee/collections/widget_list.coffee
pulse-meter-0.4.3 lib/pulse-meter/visualize/coffee/collections/widget_list.coffee
pulse-meter-0.4.2 lib/pulse-meter/visualize/coffee/collections/widget_list.coffee
pulse-meter-0.4.1 lib/pulse-meter/visualize/coffee/collections/widget_list.coffee
pulse-meter-0.4.0 lib/pulse-meter/visualize/coffee/collections/widget_list.coffee
pulse-meter-0.3.2 lib/pulse-meter/visualize/coffee/collections/widget_list.coffee
pulse-meter-0.3.1 lib/pulse-meter/visualize/coffee/collections/widget_list.coffee
pulse-meter-0.3.0 lib/pulse-meter/visualize/coffee/collections/widget_list.coffee