first pass at extracting version code from the minified javascript

still needs some work, but will get something working in the test builds for now...
This commit is contained in:
Jon Atkins
2014-08-14 23:54:36 +01:00
parent aa01bcf66f
commit 9ab6bea90d
6 changed files with 29 additions and 37 deletions

View File

@ -414,13 +414,6 @@ window.clampLatLngBounds = function(bounds) {
return new L.LatLngBounds ( clampLatLng(bounds.getSouthWest()), clampLatLng(bounds.getNorthEast()) );
}
// avoid error in stock JS
if(goog && goog.style) {
goog.style.setElementShown = goog.style.showElement = function(a, b) {
if(a && a.style)
a.style.display = b ? "" : "none"
};
}
// Fix Leaflet: handle touchcancel events in Draggable
L.Draggable.prototype._onDownOrig = L.Draggable.prototype._onDown;