update dependencies in custom builder

This commit is contained in:
Mourner 2011-08-11 16:40:33 +03:00
parent 28be37ca8e
commit 229b905bb5

View File

@ -1,10 +1,13 @@
var deps = { var deps = {
Core: { Core: {
src: ['Leaflet.js', src: ['Leaflet.js',
'core/Browser.js', 'core/Util.js',
'core/Class.js', 'core/Class.js',
'core/Events.js', 'core/Events.js',
'core/Util.js', 'core/Browser.js',
'geometry/Point.js',
'geometry/Bounds.js',
'geometry/Transformation.js',
'dom/DomUtil.js', 'dom/DomUtil.js',
'geo/LatLng.js', 'geo/LatLng.js',
'geo/LatLngBounds.js', 'geo/LatLngBounds.js',
@ -14,9 +17,6 @@ var deps = {
'geo/crs/CRS.js', 'geo/crs/CRS.js',
'geo/crs/CRS.EPSG3857.js', 'geo/crs/CRS.EPSG3857.js',
'geo/crs/CRS.EPSG4326.js', 'geo/crs/CRS.EPSG4326.js',
'geometry/Bounds.js',
'geometry/Point.js',
'geometry/Transformation.js',
'map/Map.js'], 'map/Map.js'],
desc: 'The core of the library, including OOP, events, DOM facilities, basic units, projections (EPSG:3857 and EPSG:4326) and the base Map class.' desc: 'The core of the library, including OOP, events, DOM facilities, basic units, projections (EPSG:3857 and EPSG:4326) and the base Map class.'
}, },
@ -76,7 +76,7 @@ var deps = {
Path: { Path: {
src: ['layer/vector/Path.js', 'layer/vector/Path.Popup.js'], src: ['layer/vector/Path.js', 'layer/vector/Path.SVG.js', 'layer/vector/Path.Popup.js'],
desc: 'Vector rendering core (SVG-powered), enables overlaying the map with SVG paths.', desc: 'Vector rendering core (SVG-powered), enables overlaying the map with SVG paths.',
heading: 'Vector layers' heading: 'Vector layers'
}, },
@ -116,6 +116,15 @@ var deps = {
desc: 'Circle overlays with a constant pixel radius.' desc: 'Circle overlays with a constant pixel radius.'
}, },
PathCanvas: {
src: ['layer/vector/canvas/Path.Canvas.js',
'layer/vector/canvas/Polyline.Canvas.js',
'layer/vector/canvas/Polygon.Canvas.js',
'layer/vector/canvas/Circle.Canvas.js'],
deps: ['Path', 'Polyline', 'Polygon', 'Circle'],
desc: 'Canvas fallback for vector layers (makes them work on Android 2+).'
},
GeoJSON: { GeoJSON: {
src: ['layer/GeoJSON.js'], src: ['layer/GeoJSON.js'],
deps: ['Marker', 'MultiPoly', 'FeatureGroup'], deps: ['Marker', 'MultiPoly', 'FeatureGroup'],
@ -168,13 +177,20 @@ var deps = {
desc: 'Basic zoom control with two buttons (zoom in / zoom out).' desc: 'Basic zoom control with two buttons (zoom in / zoom out).'
}, },
ControlZoom: { ControlAttrib: {
src: ['control/Control.js', src: ['control/Control.js',
'map/ext/Map.Control.js', 'map/ext/Map.Control.js',
'control/Control.Attribution.js'], 'control/Control.Attribution.js'],
desc: 'Attribution control.' desc: 'Attribution control.'
}, },
ControlLayers: {
src: ['control/Control.js',
'map/ext/Map.Control.js',
'control/Control.Layers.js'],
desc: 'Layer Switcher control.'
},
MapAnimationNative: { MapAnimationNative: {
src: ['dom/DomEvent.js', src: ['dom/DomEvent.js',