Move RB.CollectionView into the common bundle, refactor remove a bit.

Review Request #7811 — Created Dec. 16, 2015 and submitted

Information

Review Board
release-2.5.x
f5f9f86...

Reviewers

This change moves the (very generic) RB.CollectionView into the common bundle,
where anyone, including extensions, can use it. This also refactors the remove
handler to use _.find and _.without, which is a bit more readable.

  • Ran js-tests.
  • Checked that this was available to extensions on all pages.
reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/staticbundles.py
    
    Ignored Files:
        reviewboard/static/rb/js/views/collectionView.js
    
    
    
    Tool: Pyflakes
    Processed Files:
        reviewboard/staticbundles.py
    
    Ignored Files:
        reviewboard/static/rb/js/views/collectionView.js
    
    
  2. 
      
brennie
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.5.x (3958bea)