The meetup API still doesn't allow us to make proper CORS requests so
this PR adds a JSONP library and an additional fetchJSONPAndRender
function.
It furthermore simplifies the usage pattern of both fetch*AndRender
functions: if you don't supply a render function yourself it will
directly pass the data into the first template passed in.
Last but not least, it features an example of this new feature with the
meetup API on the chapter pages. Check it out at /berlin.
The meetup API still doesn't allow us to make proper CORS requests so this PR adds a JSONP library and an additional fetchJSONPAndRender function.
It furthermore simplifies the usage pattern of both
fetch*AndRender
functions: if you don't supply a render function yourself it will directly pass the data into the first template passed in.Last but not least, it features an example of this new feature with the meetup API on the chapter pages. Check it out at
/berlin
.OpenTechSchool:meetup-cors