nyc-bookstores/node_modules/mapbox.js/test/index.html

54 lines
1.7 KiB
HTML
Raw Normal View History

2013-05-27 20:45:59 +00:00
<!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-1.2.0/jasmine_favicon.png">
<link rel="stylesheet" type="text/css" href="lib/jasmine-1.2.0/jasmine.css">
<script type="text/javascript" src="lib/jasmine-1.2.0/jasmine.js"></script>
<script type="text/javascript" src="lib/jasmine-1.2.0/jasmine-html.js"></script>
<script type="text/javascript" src="../dist/dev/mapbox.uncompressed.js"></script>
<script type="text/javascript" src="spec/mapbox.js"></script>
<script type="text/javascript" src="spec/mapbox.layer.js"></script>
<script type="text/javascript" src="spec/mapbox.map.js"></script>
<script type="text/javascript" src="spec/mapbox.markers.js"></script>
<script type="text/javascript" src="spec/mapbox.interaction.js"></script>
<script type="text/javascript" src="spec/mapbox.load.js"></script>
<script type="text/javascript" src="spec/mapbox.ui.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>