Expose caches instead of _clearCache method
This commit is contained in:
@@ -124,10 +124,8 @@ OpenLayers.Vendor = (function() {
|
||||
stylePrefix: stylePrefix,
|
||||
|
||||
// used for testing
|
||||
_clearCache: function() {
|
||||
cssCache = {};
|
||||
jsCache = {};
|
||||
},
|
||||
cssCache: cssCache,
|
||||
jsCache: jsCache,
|
||||
_mockStyle: function(mock) {
|
||||
divStyle = mock;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user