Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getDiscussionsByAuthor(author)
- {
- document.getElementById('loader').style = 'display:block';
- var params =
- {
- 'limit': 100,
- 'truncate_body': 240,
- 'select_authors': [author]
- }
- golos.api.getDiscussionsByCreated(params, function(err, data){
- if(data.length > 0)
- {
- data.forEach(function (operation){
- AddBlockX(operation);
- });
- }
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement