Merge branch 'master' of github.com:openlayers/ol3 into vector

This commit is contained in:
ahocevar
2013-02-13 12:30:16 +01:00
30 changed files with 436 additions and 198 deletions
+1 -10
View File
@@ -91,7 +91,7 @@ ol.structs.LRUCache.prototype.clear = function() {
* @return {boolean} Contains key.
*/
ol.structs.LRUCache.prototype.containsKey = function(key) {
return key in this.entries_;
return this.entries_.hasOwnProperty(key);
};
@@ -155,15 +155,6 @@ ol.structs.LRUCache.prototype.getKeys = function() {
};
/**
* @return {string} Last key.
*/
ol.structs.LRUCache.prototype.getLastKey = function() {
goog.asserts.assert(!goog.isNull(this.newest_));
return this.newest_.key_;
};
/**
* @return {Array} Values.
*/