Initial OpenECOMP policy/engine commit
[policy/engine.git] / ecomp-sdk-app / src / main / webapp / app / policyApp / libs / bower_components / jquery / src / manipulation / _evalUrl.js
diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/libs/bower_components/jquery/src/manipulation/_evalUrl.js b/ecomp-sdk-app/src/main/webapp/app/policyApp/libs/bower_components/jquery/src/manipulation/_evalUrl.js
new file mode 100644 (file)
index 0000000..6704749
--- /dev/null
@@ -0,0 +1,18 @@
+define([
+       "../ajax"
+], function( jQuery ) {
+
+jQuery._evalUrl = function( url ) {
+       return jQuery.ajax({
+               url: url,
+               type: "GET",
+               dataType: "script",
+               async: false,
+               global: false,
+               "throws": true
+       });
+};
+
+return jQuery._evalUrl;
+
+});