Version sort

This commit is contained in:
Jay McCarthy 2013-10-15 07:04:37 -06:00
parent 5827e2aaac
commit 6fadb54ed3

View File

@ -99,7 +99,8 @@ $( document ).ready(function() {
else {
return [tag, " "]; } } ) ));
$( "#pi_versions" ).html("").append( $.map( pkgi['versions'], function ( vo, v ) {
$( "#pi_versions" ).html("").append( $.map( Object.keys(pkgi['versions']).sort(), function ( v, vi ) {
var vo = pkgi['versions'][v];
if ( v == 'default' ) {
return []; }
else {