-
-
Save web20opensource/3397ba17c761ba81e39f to your computer and use it in GitHub Desktop.
Learning RxJs
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 characters
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 | |
} | |
}) | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://jhusain.github.io/learnrx/