aboutsummaryrefslogtreecommitdiffstats
path: root/bower_components/jquery/src/manipulation/_evalUrl.js
diff options
context:
space:
mode:
authorLibravatarDererk <dererk@satellogic.com>2016-11-15 14:18:46 -0300
committerLibravatarDererk <dererk@satellogic.com>2016-11-15 14:18:46 -0300
commitffb671c61a24a9086343b54bad080e145ff33fc5 (patch)
tree2c5291f7a34edf4afdc8e07887a148291bfa3fa1 /bower_components/jquery/src/manipulation/_evalUrl.js
parent4e3224c012df9f74f010eb92203520515e8537b9 (diff)
New upstream version 7.8.1upstream/7.8.1
Diffstat (limited to 'bower_components/jquery/src/manipulation/_evalUrl.js')
-rw-r--r--bower_components/jquery/src/manipulation/_evalUrl.js11
1 files changed, 7 insertions, 4 deletions
diff --git a/bower_components/jquery/src/manipulation/_evalUrl.js b/bower_components/jquery/src/manipulation/_evalUrl.js
index 6704749..572fe30 100644
--- a/bower_components/jquery/src/manipulation/_evalUrl.js
+++ b/bower_components/jquery/src/manipulation/_evalUrl.js
@@ -1,18 +1,21 @@
-define([
+define( [
"../ajax"
], function( jQuery ) {
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;
-});
+} );