Remove use of goog.object.containsKey

This commit is contained in:
Frederic Junod
2015-11-24 10:12:13 +01:00
parent 90e224bd96
commit 8d72589743
6 changed files with 13 additions and 17 deletions

View File

@@ -478,7 +478,7 @@ ol.render.webgl.ImageReplay.prototype.createTextures_ =
image = images[i];
uid = goog.getUid(image).toString();
if (goog.object.containsKey(texturePerImage, uid)) {
if (uid in texturePerImage) {
texture = texturePerImage[uid];
} else {
texture = ol.webgl.Context.createTexture(