adminbar: Sort timings collection by start time.

This commit is contained in:
Max Goodman
2013-03-13 12:28:31 -07:00
parent 4a64516460
commit d4e3d29ac6

View File

@@ -169,6 +169,7 @@ r.adminbar.Timings = Backbone.Collection.extend({
return this.get('end') - this.get('start')
}
}),
comparator: 'start',
initialize: function() {
this.on('reset', this.calculate, this)