bump version to 0.5.1 and update build

This commit is contained in:
Vladimir Agafonkin 2013-02-06 15:25:26 +02:00
parent 241cc7dc04
commit c1d410f270
3 changed files with 6 additions and 6 deletions

6
dist/leaflet-src.js vendored
View File

@ -23,7 +23,7 @@ if (typeof exports !== undefined + '') {
window.L = L; window.L = L;
} }
L.version = '0.5'; L.version = '0.5.1';
/* /*
@ -5317,7 +5317,7 @@ L.CircleMarker = L.Circle.extend({
}, },
setRadius: function (radius) { setRadius: function (radius) {
this._radius = radius; this.options.radius = this._radius = radius;
return this.redraw(); return this.redraw();
} }
}); });
@ -5441,7 +5441,7 @@ L.GeoJSON = L.FeatureGroup.extend({
if (features) { if (features) {
for (i = 0, len = features.length; i < len; i++) { for (i = 0, len = features.length; i < len; i++) {
// Only add this if geometry or geometries are set and not null // Only add this if geometry or geometries are set and not null
if (features[i].geometries || features[i].geometry) { if (features[i].geometries || features[i].geometry || features[i].features) {
this.addData(features[i]); this.addData(features[i]);
} }
} }

4
dist/leaflet.js vendored

File diff suppressed because one or more lines are too long

View File

@ -19,4 +19,4 @@ if (typeof exports !== undefined + '') {
window.L = L; window.L = L;
} }
L.version = '0.5'; L.version = '0.5.1';