Packagist unstable version display & cleanup

Part of #319
This commit is contained in:
Thaddee Tyl 2015-02-14 18:59:29 +01:00
parent 46450af165
commit 735fcbd32d

View File

@ -839,8 +839,9 @@ cache(function(data, match, sendBadge, request) {
}
}
}
badgeText = unstableVersion;
var vdata = versionColor(unstableVersion);
badgeText = vdata.version;
badgeColor = 'orange';
}
break;