Created
November 3, 2016 03:51
-
-
Save bluejava/6ad76c8dc02cb73a42cb3109f6ec24e4 to your computer and use it in GitHub Desktop.
Example 4 Vanilla for Medium Post
This file contains 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
var username = "glenn" | |
getUser(username) | |
then(function(user) { | |
getFavorites(user) | |
.then(function(favs) { renderUserFavs(user,favs) }) | |
renderUser(user) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment