mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-06 22:29:44 +08:00
44 lines
1015 B
HTML
44 lines
1015 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" href="../vendor/jasmine/lib/jasmine-1.3.1/jasmine.css">
|
|
<script src="../vendor/jasmine/lib/jasmine-1.3.1/jasmine.js"></script>
|
|
<script src="../vendor/jasmine/lib/jasmine-1.3.1/jasmine-html.js"></script>
|
|
|
|
<script src="TabBarController.js"></script>
|
|
|
|
<script src="TabBarController.unit.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>
|