sort readme list by date
This commit is contained in:
parent
0e45ec0e05
commit
2a5618ac5f
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -484,7 +484,7 @@ Ox.load(function() {
|
||||||
orientation: 'horizontal'
|
orientation: 'horizontal'
|
||||||
}, self)
|
}, self)
|
||||||
.addClass('readme');
|
.addClass('readme');
|
||||||
app.data.readme.forEach(function(item, i) {
|
Ox.sortBy(app.data.readme, '-date').forEach(function(item, i) {
|
||||||
var $item = $('<div>')
|
var $item = $('<div>')
|
||||||
.addClass('item')
|
.addClass('item')
|
||||||
.attr({id: 'readme_' + item.id})
|
.attr({id: 'readme_' + item.id})
|
||||||
|
|
Loading…
Reference in a new issue