Skip to content

Instantly share code, notes, and snippets.

Last active July 6, 2017 07:18
What would you like to do?
export default TutorialComponent.extend({
result: null,
actions: {
findStores() {
let geolocation = this.get('geolocation');
let store = this.get('store');
.then(coords => store.getNearbyStores(coords))
.then(result => {
this.set('result', result);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment