Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getDiscussionsByTags(tags)
- {
- var params =
- {
- 'limit': 50,
- 'select_tags': tags,
- 'truncate_body': 240
- }
- golos.api.getDiscussionsByCreated(params, function(err, data){
- data.sort(compareDate);
- if(data.length > 0)
- {
- data.forEach(function (operation){
- AddBlockX(operation);
- });
- }
- });
- }
Add Comment
Please, Sign In to add comment