Support predefined callback #7

merged 1 commit into from Jun 6, 2011


None yet

2 participants


In order to make OAuth signed requests, the callback parameter needs to be known before a signature can be generated. In this patch, if the callback parameter is already set, AJAX.JSONRequest will respect that rather than overwriting it. This leaves the developer with the responsibility of avoiding global namespace collisions/timing issues, but makes OAuth-ed JSONP a possibility.

@dandean dandean merged commit 7eeb2f8 into dandean:master Jun 6, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment