Merge pull request #2647 from fredj/closure-lib-upgrade

Upgrade closure library version
This commit is contained in:
Frédéric Junod
2014-09-15 14:36:17 +02:00
4 changed files with 4 additions and 4 deletions

View File

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

View File

@@ -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",

View File

@@ -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');

View File

@@ -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_);