bower_components/jquery/src/manipulation/_evalUrl.js in columbus3-0.4.0 vs bower_components/jquery/src/manipulation/_evalUrl.js in columbus3-0.5.0
- old
+ new
@@ -1,18 +1,23 @@
-define([
+define( [
"../ajax"
], function( jQuery ) {
+"use strict";
+
jQuery._evalUrl = function( url ) {
- return jQuery.ajax({
+ return jQuery.ajax( {
url: url,
+
+ // Make this explicit, since user can override this through ajaxSetup (#11264)
type: "GET",
dataType: "script",
+ cache: true,
async: false,
global: false,
"throws": true
- });
+ } );
};
return jQuery._evalUrl;
-});
+} );