Expose caches instead of _clearCache method

This commit is contained in:
Gregers Gram Rygg
2012-06-27 12:39:47 +02:00
parent d1ed8bb952
commit 36451db928
2 changed files with 16 additions and 11 deletions

View File

@@ -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;
}