equal
deleted
inserted
replaced
259 var tweetsId = []; |
259 var tweetsId = []; |
260 |
260 |
261 /* first get the list containing the tweets */ |
261 /* first get the list containing the tweets */ |
262 var tweets = IriSP.underscore.filter(this._data.lists, function(entry) { return entry.id.indexOf("tweet") !== -1 }); |
262 var tweets = IriSP.underscore.filter(this._data.lists, function(entry) { return entry.id.indexOf("tweet") !== -1 }); |
263 |
263 |
|
264 if (tweets.length === 0) |
|
265 return []; |
|
266 |
264 // FIXME: collect tweets from multiple sources ? |
267 // FIXME: collect tweets from multiple sources ? |
265 tweetsId = IriSP.underscore.pluck(tweets[0].items, "id-ref"); |
268 tweetsId = IriSP.underscore.pluck(tweets[0].items, "id-ref"); |
266 |
269 |
267 return tweetsId; |
270 return tweetsId; |
268 }; |
271 }; |