Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

settings.json #2

Open
ghost opened this issue Feb 22, 2014 · 3 comments
Open

settings.json #2

ghost opened this issue Feb 22, 2014 · 3 comments

Comments

@ghost
Copy link

ghost commented Feb 22, 2014

Should be with "
{
"apiKey":"YOUR API KEY"
}

With default ' crashes at parsing.

@jonezy
Copy link
Owner

jonezy commented Feb 22, 2014

On vacation in Mexico. Will merge when I'm back next week. Thanks for this!

On Feb 22, 2014, at 4:30 AM, xfoguet notifications@github.com wrote:

Should be with "
{
"apiKey":"YOUR API KEY"
}

With defaul ' it crashes at parsing.

Reply to this email directly or view it on
GitHubhttps://github.com//issues/2
.

@haillow
Copy link

haillow commented Jan 24, 2015

Looks like the API changed so this line causes an error. Change [7] to [5] and it's good to go!
var country = address_data.results[0].address_components[7].short_name;

@jonezy
Copy link
Owner

jonezy commented Jan 25, 2015

Thanks for the heads up Jen! Haven't looked at this in ages!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants