Adding support for bower and reorganizing so when its used via bower it will be manageable for a dev.
This commit is contained in:
18
bower_components/jquery/src/manipulation/_evalUrl.js
vendored
Normal file
18
bower_components/jquery/src/manipulation/_evalUrl.js
vendored
Normal file
@@ -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;
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user