Plato on Github
Report Home
src/manipulation/_evalUrl.js
Maintainability
72.78
Lines of code
23
Difficulty
6.00
Estimated Errors
0.07
Function weight
By Complexity
By SLOC
define( [ "../ajax" ], function( jQuery ) { "use strict"; jQuery._evalUrl = function( url ) { return jQuery.ajax( { url: url, // Make this explicit, since user can override this through ajaxSetup (#11264) type: "GET", dataType: "script", cache: true, async: false, global: false, "throws": true } ); }; return jQuery._evalUrl; } );