-
-
Save codefriar/cb95d7e2eb2c1e0d131bc2ce8a468bb0 to your computer and use it in GitHub Desktop.
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
Login() // this method must return a promise! | |
.then( | |
// the promise login() returns the oAuth token and dependency injects it into the resolve method of our fetchData() class | |
new fetchData() | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment