mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
50 lines
1.3 KiB
HTML
50 lines
1.3 KiB
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<title>Jasmine Spec Runner</title>
|
|
<meta charset=utf-8 />
|
|
<link rel="shortcut icon" type="image/png" href="jasmine-lib/jasmine-1.3.1/jasmine_favicon.png">
|
|
<link rel="stylesheet" type="text/css" href="jasmine-lib/jasmine-1.3.1/jasmine.css">
|
|
<script type="text/javascript" src="jasmine-lib/jasmine-1.3.1/jasmine.js"></script>
|
|
<script type="text/javascript" src="jasmine-lib/jasmine-1.3.1/jasmine-html.js"></script>
|
|
|
|
<!-- include source files here... -->
|
|
<script type="text/javascript" src="index.js"></script>
|
|
|
|
<!-- include spec files here... -->
|
|
<script type="text/javascript" src="string-direction-spec.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>
|