checkValue: function(resp) {
var self = this;
if (resp && !resp.value) {} else {
if (getcount < 3) {
setTimeout(function() {
getcount++;
// self.checkValue();
accounts.getValue({
callback: self.checkValue
});
}, 2000);
}
}
},
setValue: function() {
var self = this;
accounts.getValue({
callback: self.checkValue
});
},