app/pages/collections_page.rb in under-os-1.0.0 vs app/pages/collections_page.rb in under-os-1.1.0

- old
+ new

@@ -3,7 +3,13 @@ @collection = first('collection') @collection.number_of_items = 1000 @collection.on :item do |item, index| item.children[0].text = "##{index + 1}" end + @collection.on :select do |item| + item.addClass 'selected' + end + @collection.on :unselect do |item| + item.removeClass 'selected' + end end end