sort readme list by date

This commit is contained in:
j 2012-04-19 20:39:28 +02:00
parent 0e45ec0e05
commit 2a5618ac5f

View file

@ -484,7 +484,7 @@ Ox.load(function() {
orientation: 'horizontal'
}, self)
.addClass('readme');
app.data.readme.forEach(function(item, i) {
Ox.sortBy(app.data.readme, '-date').forEach(function(item, i) {
var $item = $('<div>')
.addClass('item')
.attr({id: 'readme_' + item.id})