Clean up some of the datagrid code.
Review Request #4173 — Created May 26, 2013 and submitted — Latest diff uploaded
Clean up some of the datagrid code. This is a minor cleanup that reduces all the "this" confusion by assigning real variables to things as quickly as possible, and reduces all the "var" statements everywhere. It also adds the "$" prefix to jQuery-wrapped elements.
Tested reordering columns. Tested adding/removing columns. Tested sorting columns.
Diff Revision 1
This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.
orig
1
2
djblets/media/js/datagrid.js |
---|