diff options
author | Matthieu Aubry <mattab@users.noreply.github.com> | 2016-06-28 08:50:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-28 08:50:40 +0300 |
commit | 02daed6db8fb7269d1b3a466cbb32ed7fab76e85 (patch) | |
tree | a534b2905593d44eece6a9f896522e524cb0d28f /libs/bower_components/jquery/src/manipulation/_evalUrl.js | |
parent | f981b2579a95ce60a2b7d2aa146925b4d2222e0a (diff) |
Update JQuery to the latest 1.12.4 version (#10260)
* Update JQuery to the latest 1.* version
* UI tests: Updated Jquery to latest version
Diffstat (limited to 'libs/bower_components/jquery/src/manipulation/_evalUrl.js')
-rw-r--r-- | libs/bower_components/jquery/src/manipulation/_evalUrl.js | 11 |
1 files changed, 7 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..572fe30c71 100644 --- a/libs/bower_components/jquery/src/manipulation/_evalUrl.js +++ b/libs/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; -}); +} ); |