mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
All non-var modules should not indent in their AMD wrappers (just for prettier builds). No functionality changes.
This commit is contained in:
@@ -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;
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user