Minor change in comments for better consistency

This commit is contained in:
Alex Jeng 2014-10-21 23:22:11 -07:00
parent 1f203fda69
commit 2f6ce64cc4

View File

@ -20,7 +20,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
feature = features[i]; feature = features[i];
if (feature.geometries || feature.geometry || feature.features || feature.coordinates) { if (feature.geometries || feature.geometry || feature.features || feature.coordinates) {
this.addData(feature); this.addData(feature);