2011-08-10 16:30:36 -04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
|
|
|
<link rel="stylesheet" href="qunit/qunit.css" type="text/css" />
|
|
|
|
<title>Kis-js test app</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1 id="qunit-header">Kis-js Test Suite</h1>
|
|
|
|
<h2 id="qunit-banner"></h2>
|
|
|
|
<div id="qunit-testrunner-toolbar"></div>
|
|
|
|
<h2 id="qunit-userAgent"></h2>
|
|
|
|
<ol id="qunit-tests"></ol>
|
|
|
|
<div id="qunit-fixture">
|
|
|
|
test markup, will be hidden
|
|
|
|
<span id="testSpan"></span>
|
|
|
|
</div>
|
|
|
|
<section hidden="hidden">
|
|
|
|
<article id="r14">
|
|
|
|
This is important text!
|
|
|
|
</article>
|
|
|
|
<aside id="classChild">
|
|
|
|
<p class="child"></p>
|
|
|
|
<span class="child"></span>
|
|
|
|
<div class="nephew"></div>
|
|
|
|
</aside>
|
|
|
|
</section>
|
|
|
|
<script src="../kis-custom.js"></script>
|
|
|
|
<script src="qunit/qunit.js"></script>
|
2011-11-01 08:29:21 -04:00
|
|
|
<script type="text/javascript">
|
|
|
|
//Selector test function
|
|
|
|
function $(a)
|
|
|
|
{
|
|
|
|
var x = document.querySelectorAll(a);
|
|
|
|
|
|
|
|
//Return the single object if applicable
|
|
|
|
return (x.length === 1) ? x[0] : x;
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<script src="tests/core.js"></script>
|
|
|
|
<script src="tests/ajax.js"></script>
|
|
|
|
<script src="tests/event.js"></script>
|
|
|
|
<script src="tests/dom.js"></script>
|
|
|
|
<script src="tests/util.js"></script>
|
2011-08-10 16:30:36 -04:00
|
|
|
</body>
|
|
|
|
</html>
|