Merge branch 'master' of github.com:openlayers/ol3 into vector
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user