coding style: add braces around test, use {} instead of new Array(), remove unused variable
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10473 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -317,9 +317,9 @@ OpenLayers.Tile.Image = OpenLayers.Class(OpenLayers.Tile, {
|
||||
positionImage: function() {
|
||||
// if the this layer doesn't exist at the point the image is
|
||||
// returned, do not attempt to use it for size computation
|
||||
if ( this.layer == null )
|
||||
if (this.layer === null) {
|
||||
return;
|
||||
|
||||
}
|
||||
// position the frame
|
||||
OpenLayers.Util.modifyDOMElement(this.frame,
|
||||
null, this.position, this.size);
|
||||
|
||||
Reference in New Issue
Block a user