Created
September 2, 2016 02:25
-
-
Save thehungrycoder/206e53380b18142be6017734d2ee93a8 to your computer and use it in GitHub Desktop.
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
LocationService.askLocationPermission() | |
.then(LocationService.getCoords) | |
.then(function(coords) { | |
console.log(coords); | |
}) | |
.catch(function(err) { | |
console.log(err); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment