diff --git a/js/lighthouse.js b/js/lighthouse.js index 588b924c8..0c5d6934a 100644 --- a/js/lighthouse.js +++ b/js/lighthouse.js @@ -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); } };