SimplerWeather
SimplerWeather copied to clipboard
Switched getJson to $.ajax with jsonp to avoid CORS errors
Thanks for this repo, it's super useful with the deprecation of the Yahoo API! I was running into CORS errors so I switched $.getJson
to $.ajax
with a jsonp
data type as a fix - thought this might be helpful for others. Thanks again!
This would solve a lot of issues. +1
@SaFrMo Does this method work with specifying the API Key directly or does one still have to use a proxy? Using your fork, my success
callback is called, but passed undefined
.