Initial OpenECOMP Portal commit
[portal.git] / ecomp-portal-FE / client / bower_components / jquery / src / manipulation / _evalUrl.js
diff --git a/ecomp-portal-FE/client/bower_components/jquery/src/manipulation/_evalUrl.js b/ecomp-portal-FE/client/bower_components/jquery/src/manipulation/_evalUrl.js
new file mode 100644 (file)
index 0000000..85ca2c6
--- /dev/null
@@ -0,0 +1,20 @@
+define( [
+       "../ajax"
+], function( jQuery ) {
+
+jQuery._evalUrl = function( url ) {
+       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;
+
+} );