Mock div.style through document.createElement hack instead of exposing method in vendorPrefix.js

This commit is contained in:
Gregers Gram Rygg
2012-06-27 16:49:59 +02:00
parent 1ba6aa75d7
commit d71e7a7beb
2 changed files with 23 additions and 34 deletions

View File

@@ -126,9 +126,6 @@ OpenLayers.Util.vendorPrefix = (function() {
// used for testing
cssCache: cssCache,
jsCache: jsCache,
_mockStyle: function(mock) {
divStyle = mock;
}
jsCache: jsCache
};
}());