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

evidence.js.report.js Maven / Gradle / Ivy

There is a newer version: 2.3
Show newest version

$(function() {

	var additionalLinks = function(input, td) {
		if (input.data("mask").length > 0) {
			td.append(" [ マスク版 ]");
		}
		if (input.data("comp").length > 0) {
			td.append(" [ 比較 ]");
		}
		if (input.data("compmask").length > 0) {
			td.append(" [ 比較(マスク版) ]");
		}
		if (input.data("compng").length > 0) {
			td.append(" [ スクリーンショット比較NG ]");
		}
	};

	$("input:hidden").each(function() {
		var input = $(this);
		$("h3:contains('" + input.data("class") + "')").each(function() {
			$(this).siblings("table").find("td:contains('" + input.data("method") + "')").each(function() {
				var td = $(this);
				if (td.text() == input.data("method") || td.find("a:first").text() == input.data("method")) {
					td.append(" ( エビデンス: [ 通常 ]");
					additionalLinks(input, td);
					td.append(" )");
				}
			});
		});
	});
});





© 2015 - 2025 Weber Informatics LLC | Privacy Policy