Created
June 6, 2010 15:44
-
-
Save rightjs/427662 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// JSONP support in action | |
new Xhr('/bla/bla/bla', { | |
jsonp: true, // <- will use the 'callback' name by default | |
}).send('some=data'); | |
// or like that | |
Xhr.load('/bla/bla/bla', { | |
jsonp: 'mycustomname' | |
}); | |
// or even like that | |
$('my-form').send({jsonp: true}); | |
// the actual commit is over here | |
// http://github.com/rightjs/rightjs-core/commit/00e583c71d0d8afcb5ed596eb46b25e680afbe6e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment