aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation/_evalUrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/manipulation/_evalUrl.js')
-rw-r--r--src/manipulation/_evalUrl.js24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/manipulation/_evalUrl.js b/src/manipulation/_evalUrl.js
index 42ec67834..6704749ae 100644
--- a/src/manipulation/_evalUrl.js
+++ b/src/manipulation/_evalUrl.js
@@ -1,16 +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;
+jQuery._evalUrl = function( url ) {
+ return jQuery.ajax({
+ url: url,
+ type: "GET",
+ dataType: "script",
+ async: false,
+ global: false,
+ "throws": true
+ });
+};
+
+return jQuery._evalUrl;
+
});