Fixed grunt style warnings.

pull/2/head
Kevan Ahlquist 2015-08-25 01:07:08 -05:00
parent 8a7f8f7c37
commit 6cb658a1ef
3 changed files with 5 additions and 5 deletions

View File

@ -50,7 +50,7 @@ angular.module('containersNetwork', ['ngVis'])
this.hasEdge = function (from, to) {
return this.edges.getIds({
filter: function (item) {
return item.from == from.Id && item.to == to.Id;
return item.from === from.Id && item.to === to.Id;
}
}).length > 0;
};

View File

@ -9,8 +9,8 @@ angular.module('pullImage', [])
repo: '',
fromImage: '',
tag: 'latest'
}
}
};
};
$scope.init();
@ -52,5 +52,5 @@ angular.module('pullImage', [])
$('#pull-modal').modal('show');
$('#error-message').show();
});
}
};
}]);

View File

@ -46,7 +46,7 @@ angular.module('stats', [])
if (systemDelta > 0.0 && cpuDelta > 0.0) {
cpuPercent = (cpuDelta / systemDelta) * curCpu.cpu_usage.percpu_usage.size() * 100.0;
}
return cpuPercent
return cpuPercent;
};
function updateChart(data) {