You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.2 KiB
47 lines
1.2 KiB
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>tiny-cookie.js SpecRunner</title>
|
|
<link rel="shortcut icon" type="image/png" href="../external/jasmine/1.3.1/jasmine_favicon.png">
|
|
<link rel="stylesheet" type="text/css" href="../external/jasmine/1.3.1/jasmine.css">
|
|
|
|
<script type="text/javascript" src="../external/jasmine/1.3.1/jasmine.js"></script>
|
|
<script type="text/javascript" src="../external/jasmine/1.3.1/jasmine-html.js"></script>
|
|
|
|
<script src="../tiny-cookie.js"></script>
|
|
<script src="test.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
(function() {
|
|
var jasmineEnv = jasmine.getEnv();
|
|
jasmineEnv.updateInterval = 1000;
|
|
|
|
var htmlReporter = new jasmine.HtmlReporter();
|
|
|
|
jasmineEnv.addReporter(htmlReporter);
|
|
|
|
jasmineEnv.specFilter = function(spec) {
|
|
return htmlReporter.specFilter(spec);
|
|
};
|
|
|
|
var currentWindowOnload = window.onload;
|
|
|
|
window.onload = function() {
|
|
if (currentWindowOnload) {
|
|
currentWindowOnload();
|
|
}
|
|
execJasmine();
|
|
};
|
|
|
|
function execJasmine() {
|
|
jasmineEnv.execute();
|
|
}
|
|
|
|
})();
|
|
</script>
|
|
</head>
|
|
<body>
|
|
|
|
</body>
|
|
</html> |