Example #1
0
 _this.getAllEpisodes = function() {
     return $$.flatten($$.select(_seasons, function(season) {
         return season.episodes();
     }));
 }
Example #2
0
Season.getEpisodes = function(seasons) {
    return $$.flatten($$.select(seasons, function(season) {
        return season.episodes();
    }));
};