Fix #13803: domManip remote-script evaluation per 1.9 (AJAX dataType "script")

This commit is contained in:
Richard Gibson 2013-04-29 13:31:59 -04:00
parent 55e319aa52
commit 18cccd04a6

View File

@ -469,10 +469,10 @@ jQuery.extend({
return jQuery.ajax({
url: url,
type: "GET",
dataType: "text",
dataType: "script",
async: false,
global: false,
success: jQuery.globalEval
"throws": true
});
}
});