Guest User

Untitled

a guest
Jan 15th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function getDiscussionsByTags(tags)
  2. {
  3.      var params =
  4.      {
  5.          'limit': 50,
  6.          'select_tags': tags,
  7.          'truncate_body': 240
  8.      }
  9.      golos.api.getDiscussionsByCreated(params, function(err, data){
  10.         data.sort(compareDate);
  11.         if(data.length > 0)
  12.         {          
  13.             data.forEach(function (operation){
  14.                 AddBlockX(operation);
  15.             });
  16.         }
  17.      });
  18. }
Add Comment
Please, Sign In to add comment