mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-23 23:28:49 +08:00
c23ba31e17
Thread dropdown Small fixes
52 lines
1.3 KiB
HTML
52 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="lib/jasmine-1.2.0/jasmine_favicon.png" />
|
|
<link rel="stylesheet" href="lib/jasmine-1.2.0/jasmine.css" />
|
|
<script src="lib/jasmine-1.2.0/jasmine.js"></script>
|
|
<script src="lib/jasmine-1.2.0/jasmine-html.js"></script>
|
|
<script src="lib/jasmine-promise.js"></script>
|
|
|
|
<!-- include source files here... -->
|
|
<script src="../q.js"></script>
|
|
|
|
<!-- include spec files here... -->
|
|
<script src="q-spec.js"></script>
|
|
|
|
<script>
|
|
(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>
|