This commit is contained in:
William Mantly 2016-02-07 00:59:29 -05:00
parent 025205e349
commit 7c37aa2e8b

3
lxc.js
View File

@ -188,13 +188,14 @@ var lxcORM = function(){
var containers = {}
this.isReady = false;
this.whenReady = [];
callReady = this.callReady;
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){
this.callReady();
callReady();
}
}
});