<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<title>Jasmine Test Runner</title>
	<link rel="stylesheet" type="text/css" href="../vendor/jasmine-1.0.1/jasmine.css">

	<script type="text/javascript" src="../vendor/jasmine-1.0.1/jasmine.js"></script>
	<script type="text/javascript" src="../vendor/jasmine-1.0.1/jasmine-html.js"></script>
	<script type="text/javascript" src="../vendor/jasmine-dom/jasmine-dom-matchers.js"></script>
	<script type="text/javascript" src="../vendor/jasmine-dom/jasmine-dom-fixtures.js"></script>

  <!-- include source files here... -->
	<script type="text/javascript">
		versionarg = window.location.search.match(/version=([^&]+)/);
		jQueryVersion = versionarg ? versionarg[1] : '1.6';
		jQuerySource = 'local';

		var jQuery;
		document.write('<'+'script src="../vendor/jquery-'+jQueryVersion+'.js"'+'><'+'/script'+'>');
	</script>

	<script type="text/javascript">
		if (!jQuery) {
			jQuerySource = 'Google CDN';
			document.write('<'+'script src="http://ajax.googleapis.com/ajax/libs/jquery/'+jQueryVersion+'/jquery.min.js"'+'><'+'/script'+'>');
		}
	</script>

	<script src="../vendor/jquery.selector/jquery.class.js"></script>
	<script src="../vendor/jquery.selector/jquery.selector.js"></script>
	<script src="../vendor/jquery.selector/jquery.selector.specifity.js"></script>
	<script src="../vendor/jquery.selector/jquery.selector.matches.js"></script>
	
	<script src="../src/jquery.entwine.js"></script>
	<script src="../src/jquery.entwine.dommaybechanged.js"></script>
	<script src="../src/jquery.entwine.events.js"></script>
	<script src="../src/jquery.entwine.ctors.js"></script>
	<script src="../src/jquery.entwine.properties.js"></script>

	<!-- include spec files here... -->
	<script type="text/javascript" src="spec.entwine.basics.js"></script>
	<script type="text/javascript" src="spec.entwine.ctors.js"></script>
	<script type="text/javascript" src="spec.entwine.events.js"></script>
	<script type="text/javascript" src="spec.entwine.namespaces.js"></script>
	<script type="text/javascript" src="spec.entwine.properties.js"></script>
	<script type="text/javascript" src="spec.entwine.super.js"></script>
	<script type="text/javascript" src="spec.entwine.synchronous.js"></script>

	<style type="text/css">
		#jqver {
			margin: 0;
			padding: 4px 15px;
		}
		#jqver.error {
			padding: 4px 13px;
			border: 2px solid red;
		}
	</style>

</head>
<body>
</body>

<script type="text/javascript">
	if (!jQuery) {
		document.body.innerHTML = '<h4 id="jqver" class="error">jQuery version '+jQueryVersion+' not found</h4>';
	}
	else {
		document.body.innerHTML = '<h4 id="jqver">jQuery version '+jQueryVersion+' ('+jQuerySource+')</h4>';

		jasmine.getEnv().addReporter(new jasmine.TrivialReporter());
		jasmine.getEnv().execute();
	}
</script>

</html>