Sha256: 076580740fa8e63cdb21a9371e48e183aa9a8e572374c9c55f8a5308499aaa1c

Contents?: true

Size: 567 Bytes

Versions: 6

Compression:

Stored size: 567 Bytes

Contents

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

/**
 * Determines whether an object can have data
 */
jQuery.acceptData = function( elem ) {
	var noData = jQuery.noData[ (elem.nodeName + " ").toLowerCase() ],
		nodeType = +elem.nodeType || 1;

	// Do not set data on non-element DOM nodes because it will not be cleared (#8335).
	return nodeType !== 1 && nodeType !== 9 ?
		false :

		// Nodes accept data unless otherwise specified; rejection can be conditional
		!noData || noData !== true && elem.getAttribute("classid") === noData;
};

return jQuery.acceptData;
});

Version data entries

6 entries across 6 versions & 3 rubygems

Version Path
rails_modular_admin-1.0.0 app/assets/node_modules/jqvmap/node_modules/jquery/src/data/accepts.js
rails_modular_admin-0.4.0 app/assets/node_modules/jqvmap/node_modules/jquery/src/data/accepts.js
simpletool-0.0.3 lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/data/accepts.js
simpletool-0.0.2 lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/data/accepts.js
kanpachi-0.0.7 lib/kanpachi/doc/template/components/jquery/src/data/accepts.js
kanpachi-0.0.6 lib/kanpachi/doc/template/components/jquery/src/data/accepts.js