Sha256: cc089fe05413cdde6428186808fa551d4095865f63ec29e0e0bea4ff57d85ac9
Contents?: true
Size: 427 Bytes
Versions: 11
Compression:
Stored size: 427 Bytes
Contents
var FileListView = Backbone.View.extend({ tagName: 'ul', className: 'thumbnails', render: function(){ this.$el.html(''); this.collection.forEach(this.addOne, this); //$('[id^=popover]').popover({trigger:'click'}); return this; }, addOne: function(fileItem){ var fileView = new FileView({model: fileItem}); this.$el.append(fileView.render().el); } });
Version data entries
11 entries across 11 versions & 2 rubygems