Skip to content

Instantly share code, notes, and snippets.

@bluejava
Created November 3, 2016 03:51
Show Gist options
  • Save bluejava/6ad76c8dc02cb73a42cb3109f6ec24e4 to your computer and use it in GitHub Desktop.
Save bluejava/6ad76c8dc02cb73a42cb3109f6ec24e4 to your computer and use it in GitHub Desktop.
Example 4 Vanilla for Medium Post
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