Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example 5 Vanilla for Medium Post
var username = "glenn"
getUser(username)
then(function(user) {
renderUser(user)
.then(function(userRenderer) {
getFavorites(user)
.then(function(favs) { renderUserFavs(userRenderer, favs) })
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.