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

Some way to automagically jsonp #303

Open
schorsch3000 opened this issue Oct 5, 2015 · 0 comments
Open

Some way to automagically jsonp #303

schorsch3000 opened this issue Oct 5, 2015 · 0 comments

Comments

@schorsch3000
Copy link

I'm going to build a javascript-onpage-app with a backend in php.
I'm going to use klein as my preferred router.
It will be usable directly in the browser and also will be shipped as an cordava-app.
so every single route in this setup will be called for json or jsonp.
it would be neat to have that response to figure it self if it should be json or jsonp according to the parameter name you tell it ('callback' by default).
For the first prototype i'll quick-patch that into the response.
is such behavior something you are like to see be implemented?

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

1 participant