Sha256: 3129bc9627635ec1c22a97eda9389730e6bea1afd1571570301f45742795f687

Contents?: true

Size: 686 Bytes

Versions: 36

Compression:

Stored size: 686 Bytes

Contents

define( [
	"../ajax"
], function( jQuery ) {

"use strict";

jQuery._evalUrl = function( url, options, doc ) {
	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,

		// Only evaluate the response if it is successful (gh-4126)
		// dataFilter is not invoked for failure responses, so using it instead
		// of the default converter is kludgy but it works.
		converters: {
			"text script": function() {}
		},
		dataFilter: function( response ) {
			jQuery.globalEval( response, options, doc );
		}
	} );
};

return jQuery._evalUrl;

} );

Version data entries

36 entries across 28 versions & 4 rubygems

Version Path
trusty-cms-6.3.1 node_modules/jquery-ujs/node_modules/jquery/src/manipulation/_evalUrl.js
trusty-cms-6.3.1 node_modules/jquery-treetable/node_modules/jquery/src/manipulation/_evalUrl.js
optimacms-0.1.61 spec/dummy/node_modules/jquery-ujs/node_modules/jquery/src/manipulation/_evalUrl.js
optimacms-0.1.61 spec/dummy/node_modules/cocoon-js/node_modules/jquery/src/manipulation/_evalUrl.js
udt-itf-theme-0.1.0 _sass/node_modules/jquery/src/manipulation/_evalUrl.js
trusty-cms-5.0.7 node_modules/jquery/src/manipulation/_evalUrl.js
trusty-cms-5.0.6 node_modules/jquery/src/manipulation/_evalUrl.js
trusty-cms-5.0.5 node_modules/jquery/src/manipulation/_evalUrl.js
trusty-cms-5.0.4 node_modules/jquery/src/manipulation/_evalUrl.js
trusty-cms-5.0.3 node_modules/jquery/src/manipulation/_evalUrl.js
trusty-cms-5.0.2 node_modules/jquery/src/manipulation/_evalUrl.js
trusty-cms-5.0.1 node_modules/jquery/src/manipulation/_evalUrl.js
trusty-cms-4.3.5 node_modules/jquery/src/manipulation/_evalUrl.js
trusty-cms-5.0.0 node_modules/jquery/src/manipulation/_evalUrl.js
trusty-cms-4.3.4 node_modules/jquery/src/manipulation/_evalUrl.js
trusty-cms-4.3.4 spec/dummy/node_modules/jquery/src/manipulation/_evalUrl.js
trusty-cms-4.3.3 node_modules/jquery/src/manipulation/_evalUrl.js
trusty-cms-4.3.3 spec/dummy/node_modules/jquery/src/manipulation/_evalUrl.js
trusty-cms-4.3.2 spec/dummy/node_modules/jquery/src/manipulation/_evalUrl.js
trusty-cms-4.3.2 node_modules/jquery/src/manipulation/_evalUrl.js