Example #1
0
 var videos_with_tag = _.filter(Videos.getVideos(), function(video) {
   return _.contains(Videos.tags_from_video(video), Videos.escape_tag(tag));
 });
Example #2
0
 var videos_with_all_tag = _.filter(Videos.getVideos(), function(video) {
   return _.contains(Videos.tags_from_video(video), 'all');
 });