* Remove "async = true" from script transport since it was needed
for FF < 4 and old Opera which we do not support anymore
* Add comment to "evalUrl" method on why "type" field should be explicit
return {
send: function( _, complete ) {
script = jQuery("<script>").prop({
- async: true,
charset: s.scriptCharset,
src: s.url
}).on(
jQuery._evalUrl = function( url ) {
return jQuery.ajax({
url: url,
+
+ // Make this explicit, since user can override this through ajaxSetup (#11264)
type: "GET",
dataType: "script",
cache: true,