This commit is contained in:
William Mantly 2016-02-07 01:01:07 -05:00
parent 708c5ea5d3
commit d438cdd249

5
lxc.js
View File

@ -188,14 +188,13 @@ var lxcORM = function(){
var containers = {}
this.isReady = false;
this.whenReady = [];
var callReady = this.callReady;
var callthis = this;
this.list(function(data){
for(var idx = data.length; idx--;){
console.log(data[idx].name)
containers[data[idx].name] = new Container(data[idx]);
if(idx===0){
callReady();
callthis.callReady();
}
}
});