All Downloads are FREE. Search and download functionalities are using the official Maven repository.

bower_components.jquery.src.data.var.acceptData.js Maven / Gradle / Ivy

Go to download

Helper library to visualize and assert which parts of a BPMN process have been covered by a unit test.

There is a newer version: 0.4.0
Show newest version
define( function() {

/**
 * Determines whether an object can have data
 */
return function( owner ) {

	// Accepts only:
	//  - Node
	//    - Node.ELEMENT_NODE
	//    - Node.DOCUMENT_NODE
	//  - Object
	//    - Any
	/* jshint -W018 */
	return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );
};

} );




© 2015 - 2025 Weber Informatics LLC | Privacy Policy