summaryrefslogtreecommitdiff
path: root/bower_components/jquery/src/manipulation/_evalUrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'bower_components/jquery/src/manipulation/_evalUrl.js')
-rw-r--r--bower_components/jquery/src/manipulation/_evalUrl.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/bower_components/jquery/src/manipulation/_evalUrl.js b/bower_components/jquery/src/manipulation/_evalUrl.js
new file mode 100644
index 00000000..6704749a
--- /dev/null
+++ b/bower_components/jquery/src/manipulation/_evalUrl.js
@@ -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;
+
+});