Leaflet/debug/include.js

65 lines
1.5 KiB
JavaScript
Raw Normal View History

2010-12-15 23:14:59 +08:00
(function() {
//TODO replace script list with the one from ../buid/deps.js
2010-12-15 23:14:59 +08:00
var scripts = [
'Leaflet.js',
'core/Util.js',
'core/Class.js',
'core/Events.js',
'core/Browser.js',
2010-12-16 00:41:35 +08:00
'geometry/Point.js',
'geometry/Bounds.js',
'geometry/Transformation.js',
2011-02-26 01:01:29 +08:00
'geometry/LineUtil.js',
2011-03-01 23:41:33 +08:00
'geometry/PolyUtil.js',
2010-12-16 00:41:35 +08:00
2010-12-15 23:14:59 +08:00
'dom/DomEvent.js',
'dom/DomUtil.js',
'dom/Draggable.js',
'dom/transition/Transition.js',
'dom/transition/Transition.Native.js',
'dom/transition/Transition.Timer.js',
'geo/LatLng.js',
'geo/LatLngBounds.js',
'geo/Projection.js',
'layer/TileLayer.js',
'layer/ImageOverlay.js',
2010-12-16 01:55:57 +08:00
'layer/Popup.js',
2011-02-26 01:01:29 +08:00
2011-01-21 17:55:08 +08:00
'layer/marker/Icon.js',
'layer/marker/Marker.js',
'layer/marker/Marker.Popup.js',
2010-12-15 23:14:59 +08:00
2011-02-26 01:01:29 +08:00
'layer/vector/Path.js',
'layer/vector/Path.VML.js',
'layer/vector/Path.Popup.js',
2011-02-26 01:01:29 +08:00
'layer/vector/Polyline.js',
2011-03-01 16:26:42 +08:00
'layer/vector/Polygon.js',
2011-03-01 23:41:33 +08:00
'layer/vector/Circle.js',
2011-02-26 01:01:29 +08:00
2010-12-15 23:14:59 +08:00
'handler/Handler.js',
'handler/MapDrag.js',
'handler/TouchZoom.js',
'handler/DoubleClickZoom.js',
'handler/ScrollWheelZoom.js',
2011-03-22 01:09:43 +08:00
'handler/ShiftDragZoom.js',
2010-12-15 23:14:59 +08:00
'control/Control.js',
'control/Control.Zoom.js',
2010-12-15 23:14:59 +08:00
'map/Map.js',
2011-01-21 17:55:08 +08:00
'map/ext/Map.Geolocation.js',
'map/ext/Map.Popup.js',
'map/ext/Map.PanAnimation.js',
'map/ext/Map.ZoomAnimation.js',
'map/ext/Map.Control.js'
2010-12-15 23:14:59 +08:00
];
for (var i = 0; i < scripts.length; i++) {
2011-04-08 19:53:34 +08:00
document.writeln("<script type='text/javascript' src='../../src/" + scripts[i] + "'></script>");
2010-12-15 23:14:59 +08:00
}
})();