padolsey-archive / jquery.fn

A collection of jQuery plugins
http://james.padolsey.com
The Unlicense
1.1k stars 723 forks source link

YQL query: Explicit setting for default data (GET) required #3

Open knuton opened 13 years ago

knuton commented 13 years ago

Is it on purpose, that the condition for using the YQL-method contains a check for the request type being explicitly GET?

As in jQuery the request type is GET by default, maybe the check could be changed to be positive, if o.type is either undefined or matches /get/i.

Thanks for the plugin!

knuton commented 13 years ago

I wrote a test case and fix in my fork: http://github.com/knuton/jQuery-Plugins/commit/62b9dbd1bf5b1165f593553d90e37796ecfbbfad