-
-
Save web20opensource/3397ba17c761ba81e39f to your computer and use it in GitHub Desktop.
Revisions
-
web20opensource created this gist
Apr 21, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ return movieLists. concatMap(function(category){ debugger; return category.videos.concatMap(function(video){ debugger; return video.boxarts.filter(function(box){ //safe coercion return box.width=='150' }).map(function(box){ debugger; return { 'id': video.id, 'title' : video.title, 'boxart' : box.url } }) }) })