Logo white

WebCompDev / COMPONENTS

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • COMPONENTS
  • bower_components
  • jquery
  • src
  • manipulation
  • _evalUrl.js
  • a new hope
    c5169e0e
    Renato De Donato authored
    2016-01-20 16:55:56 +0100  
    Browse Code ยป
_evalUrl.js 240 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 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;

});