Attempt to use new Travis API.

This commit is contained in:
Georges Dupéron 2016-08-23 14:26:35 +02:00
parent f8f8bd363a
commit 66582f99d2

View File

@ -1,4 +1,4 @@
function renderBuildCounts(container, data) {
xfunction renderBuildCounts(container, data) {
var valueLabelWidth = 40; // space reserved for value labels (right)
var barHeight = 20; // height of one bar
var barLabelWidth = 160; // space reserved for bar labels
@ -189,6 +189,7 @@ function updateChart() {
function filterBuilds(json) {
var rawBuilds = json.builds;
if(console){globall=rawBuilds;console.log(rawBuilds);}
if (typeof rawBuilds.length === 'undefined') {
alert('invalid repository: ' + repoName);
return;