60 lines
1.7 KiB
HTML
Executable File
60 lines
1.7 KiB
HTML
Executable File
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
"http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<title>Jasmine Spec Runner</title>
|
|
|
|
<link rel="shortcut icon" type="image/png" href="lib/jasmine_favicon.png">
|
|
|
|
<link rel="stylesheet" type="text/css" href="lib/jasmine.css">
|
|
<script type="text/javascript" src="lib/jasmine.js"></script>
|
|
<script type="text/javascript" src="lib/jasmine-html.js"></script>
|
|
|
|
<script type="text/javascript" src="../vendor/jquery-1.7.1.min.js"></script>
|
|
<script type="text/javascript" src="lib/jasmine-jquery-1.3.1.js"></script>
|
|
|
|
<!-- include spec files here... -->
|
|
<script type="text/javascript" src="spec/SpecHelper.js"></script>
|
|
<script type="text/javascript" src="spec/EasyTabsSpec.js"></script>
|
|
|
|
<!-- include source files here... -->
|
|
<script type="text/javascript" src="../vendor/jquery.hashchange.min.js"></script>
|
|
<script type="text/javascript" src="../lib/jquery.easytabs.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
(function() {
|
|
jasmine.getFixtures().fixturesPath = 'fixtures';
|
|
|
|
var jasmineEnv = jasmine.getEnv();
|
|
jasmineEnv.updateInterval = 1000;
|
|
|
|
var trivialReporter = new jasmine.TrivialReporter();
|
|
|
|
jasmineEnv.addReporter(trivialReporter);
|
|
|
|
jasmineEnv.specFilter = function(spec) {
|
|
return trivialReporter.specFilter(spec);
|
|
};
|
|
|
|
var currentWindowOnload = window.onload;
|
|
|
|
window.onload = function() {
|
|
if (currentWindowOnload) {
|
|
currentWindowOnload();
|
|
}
|
|
execJasmine();
|
|
};
|
|
|
|
function execJasmine() {
|
|
jasmineEnv.execute();
|
|
}
|
|
|
|
})();
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
</body>
|
|
</html>
|