43
js/libraries/balupton-history/tests/html5.mootools.html
Executable file
43
js/libraries/balupton-history/tests/html5.mootools.html
Executable file
@@ -0,0 +1,43 @@
|
||||
<!DOCTYPE html>
|
||||
<html debug="true">
|
||||
<head>
|
||||
<meta http-equiv="Expires" CONTENT="Mon, 06 Jan 1990 00:00:01 GMT" />
|
||||
<meta http-equiv="PRAGMA" CONTENT="NO-CACHE" />
|
||||
<meta http-equiv="CACHE-CONTROL" CONTENT="NO-CACHE" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<title>History.js HTML5 Mootools Test Suite</title>
|
||||
|
||||
<!-- Check -->
|
||||
<script>
|
||||
var href = window.document.location.href,
|
||||
test_url = href.replace(/(history\.js\/tests\/[^\/\?\#]+).*/,'$1');
|
||||
if ( test_url !== href ) {
|
||||
window.document.location.href = test_url;
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- Framework -->
|
||||
<script src="../vendor/mootools.js"></script>
|
||||
|
||||
<!-- QUnit -->
|
||||
<link rel="stylesheet" href="../vendor/qunit/qunit/qunit.css" type="text/css" media="screen">
|
||||
<script src="../vendor/qunit/qunit/qunit.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<!-- Elements -->
|
||||
<h1 id="qunit-header">History.js HTML5 Mootools 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</div>
|
||||
<button onclick="history.back()">back</button><button onclick="history.forward()">forward</button>
|
||||
<textarea id="log" style="width:100%;height:400px"></textarea>
|
||||
|
||||
<!-- History.js -->
|
||||
<script src="../scripts/bundled/html5/mootools.history.js"></script>
|
||||
|
||||
<!-- Tests -->
|
||||
<script src="tests.js"></script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user