coding standards - no multiple returns

git-svn-id: http://svn.openlayers.org/trunk/openlayers@892 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-07-06 02:02:03 +00:00
parent 24503103b3
commit 43e1788f6f
+2 -2
View File
@@ -82,8 +82,7 @@ OpenLayers.Layer.Grid.prototype =
if (zoomChanged) { if (zoomChanged) {
this.grid = null; this.grid = null;
} }
return; } else {
}
if (!this.grid || zoomChanged) { if (!this.grid || zoomChanged) {
this._initTiles(); this._initTiles();
} else { } else {
@@ -101,6 +100,7 @@ OpenLayers.Layer.Grid.prototype =
this.insertColumn(false); this.insertColumn(false);
} }
} }
}
}, },
/** /**