Remove use of goog.bind and use ES5 .bind
This commit is contained in:
@@ -120,7 +120,7 @@ ol.pointer.PointerEventHandler.prototype.registerSource = function(name, source)
|
||||
var handler = s.getHandlerForEvent(e);
|
||||
|
||||
if (handler) {
|
||||
this.eventMap_[e] = goog.bind(handler, s);
|
||||
this.eventMap_[e] = handler.bind(s);
|
||||
}
|
||||
}, this);
|
||||
this.eventSourceList_.push(s);
|
||||
|
||||
Reference in New Issue
Block a user