Add lbry.getSizeForName()
This commit is contained in:
parent
0b58ae6e6e
commit
d59c5c2a1c
1 changed files with 4 additions and 0 deletions
|
@ -36,6 +36,10 @@ var lighthouse = {
|
|||
}
|
||||
|
||||
lighthouse.call('search', [query], callback, errorCallback, function() { handleSearchFailed() }, lighthouse._search_timeout);
|
||||
},
|
||||
|
||||
getSizeForName: function(name, callback, errorCallback, connectFailedCallback, timeout) {
|
||||
return lighthouse.call('get_size_for_name', [name], callback, errorCallback, connectFailedCallback, timeout);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue