aboutsummaryrefslogtreecommitdiffstats
path: root/test/jquery.js
blob: 93d1095cd9b223a8d3811447c66d547de21080d9 (plain)
1
2
3
4
5
// Use the right jQuery source in iframe tests
document.write( "<script id='jquery-js' src='" +
	parent.document.getElementById("jquery-js").src.replace( /^(?![^\/?#]+:)/,
		parent.location.pathname.replace( /[^\/]$/, "$0/" ) ) +
"'><\x2Fscript>" );