Skip to content

Conversation

@jesseditson
Copy link
Contributor

I added a dataType option that will default to 'text' as the original code was hardcoded for - I also added a typeof check when parsing a response value for checking if jQuery has already parsed JSON, so $.parseJSON will not be executed on responses that are not strings. This addresses issue #35.

tkirda pushed a commit that referenced this pull request Feb 8, 2013
Added JSONP support (via new dataType option)
@tkirda tkirda merged commit 3757add into devbridge:master Feb 8, 2013
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

Successfully merging this pull request may close these issues.

2 participants