add missing semi-colons (jslint now clean on all lib/ code)
git-svn-id: http://svn.openlayers.org/branches/openlayers/2.7@7975 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -373,11 +373,11 @@ OpenLayers.Util.onImageLoadError = function() {
|
||||
break;
|
||||
}
|
||||
}
|
||||
var guess = Math.floor(urls.length * Math.random())
|
||||
var guess = Math.floor(urls.length * Math.random());
|
||||
var new_url = urls[guess];
|
||||
k = 0;
|
||||
while(new_url == current_url && k++ < 4){
|
||||
guess = Math.floor(urls.length * Math.random())
|
||||
guess = Math.floor(urls.length * Math.random());
|
||||
new_url = urls[guess];
|
||||
}
|
||||
this.src = src.replace(current_url, new_url);
|
||||
@@ -1397,7 +1397,7 @@ OpenLayers.Util.getRenderedDimensions = function(contentHTML, size, options) {
|
||||
w = size.w;
|
||||
container.style.width = w + "px";
|
||||
} else if (size.h) {
|
||||
h = size.h
|
||||
h = size.h;
|
||||
container.style.height = h + "px";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user