Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libs/bower_components/jquery/src/manipulation/_evalUrl.js')
-rw-r--r--libs/bower_components/jquery/src/manipulation/_evalUrl.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/libs/bower_components/jquery/src/manipulation/_evalUrl.js b/libs/bower_components/jquery/src/manipulation/_evalUrl.js
index 6704749ae3..85ca2c62a4 100644
--- a/libs/bower_components/jquery/src/manipulation/_evalUrl.js
+++ b/libs/bower_components/jquery/src/manipulation/_evalUrl.js
@@ -1,18 +1,20 @@
-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",
async: false,
global: false,
"throws": true
- });
+ } );
};
return jQuery._evalUrl;
-});
+} );