2010-09-02 23:23:53 +08:00
|
|
|
<!DOCTYPE html>
|
2010-09-02 21:14:25 +08:00
|
|
|
<html>
|
|
|
|
<head>
|
2013-10-23 21:15:54 +08:00
|
|
|
<meta charset="utf-8">
|
2013-10-29 18:36:42 +08:00
|
|
|
<title>Leaflet Spec Runner</title>
|
2013-04-04 06:01:32 +08:00
|
|
|
<link rel="stylesheet" type="text/css" href="../node_modules/mocha/mocha.css">
|
2014-08-01 13:43:14 +08:00
|
|
|
<link rel="stylesheet" type="text/css" href="../dist/leaflet.css">
|
2013-03-02 05:49:20 +08:00
|
|
|
</head>
|
|
|
|
<body>
|
2013-10-23 21:15:54 +08:00
|
|
|
<div id="mocha"></div>
|
|
|
|
<script src="expect.js"></script>
|
2017-02-04 23:17:51 +08:00
|
|
|
<script src="../node_modules/mocha/mocha.js"></script>
|
|
|
|
<script src="../node_modules/happen/happen.js"></script>
|
|
|
|
<script src="../node_modules/prosthetic-hand/dist/prosthetic-hand.js"></script>
|
|
|
|
<script src="sinon.js"></script>
|
2012-02-26 00:57:28 +08:00
|
|
|
|
2010-09-02 23:23:53 +08:00
|
|
|
<!-- source files -->
|
2016-03-17 21:46:15 +08:00
|
|
|
<script>
|
|
|
|
// Trick Leaflet into believing we have a touchscreen (for Chrome)
|
|
|
|
if (window.Touch) { window.ontouchstart = function(){} };
|
|
|
|
</script>
|
2017-02-04 23:17:51 +08:00
|
|
|
<!-- <script src="../build/deps.js"></script> -->
|
2012-02-26 00:57:28 +08:00
|
|
|
|
2017-02-04 23:17:51 +08:00
|
|
|
<script src="../debug/leaflet-include.js"></script>
|
2012-02-26 00:57:28 +08:00
|
|
|
|
2013-10-23 21:15:54 +08:00
|
|
|
<script>
|
|
|
|
mocha.setup({
|
|
|
|
ui: 'bdd',
|
|
|
|
ignoreLeaks: true
|
|
|
|
});
|
|
|
|
</script>
|
2010-09-15 21:46:27 +08:00
|
|
|
|
2010-09-02 23:23:53 +08:00
|
|
|
<!-- spec files -->
|
2012-02-26 00:57:28 +08:00
|
|
|
|
2017-02-04 23:17:51 +08:00
|
|
|
<script src="suites/SpecHelper.js"></script>
|
2012-02-26 00:57:28 +08:00
|
|
|
|
2012-10-13 03:13:55 +08:00
|
|
|
<!-- /control -->
|
2017-02-04 23:17:51 +08:00
|
|
|
<script src="suites/control/ControlSpec.js"></script>
|
|
|
|
<script src="suites/control/Control.LayersSpec.js"></script>
|
|
|
|
<script src="suites/control/Control.ScaleSpec.js"></script>
|
|
|
|
<script src="suites/control/Control.AttributionSpec.js"></script>
|
2012-10-13 03:13:55 +08:00
|
|
|
|
2012-06-30 18:13:02 +08:00
|
|
|
<!-- /core -->
|
2017-02-04 23:17:51 +08:00
|
|
|
<script src="suites/core/UtilSpec.js"></script>
|
|
|
|
<script src="suites/core/ClassSpec.js"></script>
|
|
|
|
<script src="suites/core/EventsSpec.js"></script>
|
2010-09-02 21:14:25 +08:00
|
|
|
|
2012-06-30 18:13:02 +08:00
|
|
|
<!-- /geometry -->
|
2017-02-04 23:17:51 +08:00
|
|
|
<script src="suites/geometry/PointSpec.js"></script>
|
|
|
|
<script src="suites/geometry/BoundsSpec.js"></script>
|
|
|
|
<script src="suites/geometry/TransformationSpec.js"></script>
|
|
|
|
<script src="suites/geometry/LineUtilSpec.js"></script>
|
|
|
|
<script src="suites/geometry/PolyUtilSpec.js"></script>
|
2010-09-07 00:06:38 +08:00
|
|
|
|
2012-06-30 18:13:02 +08:00
|
|
|
<!-- /geo -->
|
2017-02-04 23:17:51 +08:00
|
|
|
<script src="suites/geo/LatLngSpec.js"></script>
|
|
|
|
<script src="suites/geo/LatLngBoundsSpec.js"></script>
|
|
|
|
<script src="suites/geo/ProjectionSpec.js"></script>
|
2010-09-07 19:27:44 +08:00
|
|
|
|
2012-06-30 18:13:02 +08:00
|
|
|
<!-- /dom -->
|
2017-02-04 23:17:51 +08:00
|
|
|
<script src="suites/dom/DomEventSpec.js"></script>
|
|
|
|
<script src="suites/dom/DomUtilSpec.js"></script>
|
2010-09-07 19:27:44 +08:00
|
|
|
|
2012-06-30 18:13:02 +08:00
|
|
|
<!-- /layer -->
|
2017-02-04 23:17:51 +08:00
|
|
|
<script src="suites/layer/FeatureGroupSpec.js"></script>
|
|
|
|
<script src="suites/layer/GeoJSONSpec.js"></script>
|
|
|
|
<script src="suites/layer/ImageOverlaySpec.js"></script>
|
|
|
|
<script src="suites/layer/LayerGroupSpec.js"></script>
|
|
|
|
<script src="suites/layer/PopupSpec.js"></script>
|
|
|
|
<script src="suites/layer/TooltipSpec.js"></script>
|
2013-02-08 09:44:28 +08:00
|
|
|
|
2013-12-02 23:44:03 +08:00
|
|
|
<!-- /layer/tile -->
|
2017-02-04 23:17:51 +08:00
|
|
|
<script src="suites/layer/tile/GridLayerSpec.js"></script>
|
|
|
|
<script src="suites/layer/tile/TileLayerSpec.js"></script>
|
2013-12-02 23:44:03 +08:00
|
|
|
|
2013-06-12 11:55:03 +08:00
|
|
|
<!-- /layer/marker/ -->
|
2017-02-04 23:17:51 +08:00
|
|
|
<script src="suites/layer/marker/MarkerSpec.js"></script>
|
2017-08-09 20:18:13 +08:00
|
|
|
<script src="suites/layer/marker/Marker.DragSpec.js"></script>
|
2017-02-04 23:17:51 +08:00
|
|
|
<script src="suites/layer/marker/Icon.DefaultSpec.js"></script>
|
2013-06-12 11:55:03 +08:00
|
|
|
|
2013-02-08 09:44:28 +08:00
|
|
|
<!-- /layer/vector/ -->
|
2017-02-04 23:17:51 +08:00
|
|
|
<script src="suites/layer/vector/CircleSpec.js"></script>
|
|
|
|
<script src="suites/layer/vector/CircleMarkerSpec.js"></script>
|
|
|
|
<script src="suites/layer/vector/PathSpec.js"></script>
|
|
|
|
<script src="suites/layer/vector/PolygonSpec.js"></script>
|
|
|
|
<script src="suites/layer/vector/PolylineSpec.js"></script>
|
|
|
|
<script src="suites/layer/vector/PolylineGeometrySpec.js"></script>
|
|
|
|
<script src="suites/layer/vector/CanvasSpec.js"></script>
|
2012-02-26 00:57:28 +08:00
|
|
|
|
2012-06-30 18:13:02 +08:00
|
|
|
<!-- /map -->
|
2017-02-04 23:17:51 +08:00
|
|
|
<script src="suites/map/MapSpec.js"></script>
|
2012-06-30 18:13:02 +08:00
|
|
|
|
2013-08-18 09:18:21 +08:00
|
|
|
<!-- /map/handler -->
|
2017-02-04 23:17:51 +08:00
|
|
|
<script src="suites/map/handler/Map.DragSpec.js"></script>
|
|
|
|
<script src="suites/map/handler/Map.TouchZoomSpec.js"></script>
|
2017-02-14 18:56:05 +08:00
|
|
|
<script src="suites/map/handler/Map.KeyboardSpec.js"></script>
|
2013-08-18 09:18:21 +08:00
|
|
|
|
2015-09-14 22:13:46 +08:00
|
|
|
<!-- /geo/crs -->
|
2017-02-04 23:17:51 +08:00
|
|
|
<script src="suites/geo/CRSSpec.js"></script>
|
2015-09-14 22:13:46 +08:00
|
|
|
|
2013-10-23 21:15:54 +08:00
|
|
|
<script>
|
|
|
|
(window.mochaPhantomJS || window.mocha).run();
|
|
|
|
</script>
|
2010-09-02 21:14:25 +08:00
|
|
|
</body>
|
2012-10-13 03:13:55 +08:00
|
|
|
</html>
|