Sha256: 4f1dcc887749409e23e1b4804ffe49eaedbd13be37e849ea4e519730a9c998fb
Contents?: true
Size: 402 Bytes
Versions: 35
Compression:
Stored size: 402 Bytes
Contents
WidgetListView = Backbone.View.extend { initialize: (options) -> @widgetList = options['widgetList'] @pageInfos = options['pageInfos'] @widgetList.bind 'reset', @render, this render: -> container = $('#widgets') container.empty() @widgetList.each (w) => view = new WidgetView { pageInfos: @pageInfos, model: w } view.render() container.append(view.el) view.renderChart() }
Version data entries
35 entries across 35 versions & 3 rubygems