better dependencies formatting

This commit is contained in:
Vladimir Agafonkin 2012-12-20 15:34:22 +02:00
parent b9727d9190
commit 2a0eec9ce7

View File

@ -54,7 +54,9 @@ var deps = {
}, },
Marker: { Marker: {
src: ['layer/marker/Icon.js', 'layer/marker/Icon.Default.js', 'layer/marker/Marker.js'], src: ['layer/marker/Icon.js',
'layer/marker/Icon.Default.js',
'layer/marker/Marker.js'],
desc: 'Markers to put on the map.' desc: 'Markers to put on the map.'
}, },
@ -65,7 +67,9 @@ var deps = {
}, },
Popup: { Popup: {
src: ['layer/Popup.js', 'layer/marker/Marker.Popup.js', 'map/ext/Map.Popup.js'], src: ['layer/Popup.js',
'layer/marker/Marker.Popup.js',
'map/ext/Map.Popup.js'],
deps: ['Marker'], deps: ['Marker'],
desc: 'Used to display the map popup (used mostly for binding HTML data to markers and paths on click).' desc: 'Used to display the map popup (used mostly for binding HTML data to markers and paths on click).'
}, },
@ -83,7 +87,9 @@ var deps = {
Path: { Path: {
src: ['layer/vector/Path.js', 'layer/vector/Path.SVG.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'
}, },
@ -100,13 +106,15 @@ var deps = {
}, },
Polyline: { Polyline: {
src: ['geometry/LineUtil.js', 'layer/vector/Polyline.js'], src: ['geometry/LineUtil.js',
'layer/vector/Polyline.js'],
deps: ['Path'], deps: ['Path'],
desc: 'Polyline overlays.' desc: 'Polyline overlays.'
}, },
Polygon: { Polygon: {
src: ['geometry/PolyUtil.js', 'layer/vector/Polygon.js'], src: ['geometry/PolyUtil.js',
'layer/vector/Polygon.js'],
deps: ['Polyline'], deps: ['Polyline'],
desc: 'Polygon overlays.' desc: 'Polygon overlays.'
}, },