Add GroupList balances() method

This commit is contained in:
Benjamin Renard 2014-01-12 20:09:47 +01:00
parent cb8e8c9e01
commit 80a6587020

View file

@ -84,6 +84,13 @@ function GroupList() {
} }
return false; return false;
} }
this.balances=function(fct) {
return this.each(function(idx,group) {
return group.balance();
});
}
} }
function Group(name,data) { function Group(name,data) {