{"size": 367, "ext": "js", "max_stars_repo_path": "src/css/var/isHidden.js", "max_stars_repo_name": "crushingithard/chadquery", "max_stars_repo_stars_event_min_datetime": "2015-06-18T22:46:58.000Z", "max_stars_repo_stars_event_max_datetime": "2015-06-18T22:46:58.000Z", "max_issues_repo_path": "src/css/var/isHidden.js", "max_issues_repo_name": "crushingithard/chadquery", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/css/var/isHidden.js", "max_forks_repo_name": "crushingithard/chadquery", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 26.2142857143, "max_line_length": 104, "alphanum_fraction": 0.6348773842}
define([
	"../../core",
	"../../selector"
	// css is assumed
], function( chadQuery ) {

	return function( elem, el ) {
		// isHidden might be called from chadQuery#filter function;
		// in that case, element will be second argument
		elem = el || elem;
		return chadQuery.css( elem, "display" ) === "none" || !chadQuery.contains( elem.ownerDocument, elem );
	};
});
