Merge pull request #2647 from fredj/closure-lib-upgrade
Upgrade closure library version
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"library_url": "https://github.com/google/closure-library/archive/946a7d39d4ffe08676c755b21d901e71d9904a3b.zip"
|
||||
"library_url": "https://github.com/google/closure-library/archive/fb35d5232edef340dd9a7c6e479556829d0fa452.zip"
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"async": "~0.2.10",
|
||||
"closure-util": "0.19.0",
|
||||
"closure-util": "0.20.0",
|
||||
"fs-extra": "~0.8.1",
|
||||
"graceful-fs": "~3.0.2",
|
||||
"htmlparser2": "~3.7.1",
|
||||
|
||||
@@ -8,6 +8,7 @@ goog.require('goog.dom.TagName');
|
||||
goog.require('goog.events');
|
||||
goog.require('goog.events.Event');
|
||||
goog.require('goog.events.EventType');
|
||||
goog.require('goog.fx.DragDropEvent');
|
||||
goog.require('goog.fx.Dragger');
|
||||
goog.require('goog.fx.Dragger.EventType');
|
||||
goog.require('goog.math');
|
||||
|
||||
@@ -265,8 +265,7 @@ ol.Map = function(options) {
|
||||
goog.events.EventType.TOUCHSTART,
|
||||
goog.events.EventType.MSPOINTERDOWN,
|
||||
ol.MapBrowserEvent.EventType.POINTERDOWN,
|
||||
// see https://github.com/google/closure-library/pull/308
|
||||
goog.userAgent.GECKO ? 'DOMMouseScroll' : 'mousewheel'
|
||||
goog.events.EventType.MOUSEWHEEL
|
||||
], goog.events.Event.stopPropagation);
|
||||
goog.dom.appendChild(this.viewport_, this.overlayContainerStopEvent_);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user