Use bracket notation instead of goog.object.set
This commit is contained in:
@@ -108,8 +108,7 @@ ol.pointer.MsSource.prototype.cleanup = function(pointerId) {
|
||||
* @param {goog.events.BrowserEvent} inEvent
|
||||
*/
|
||||
ol.pointer.MsSource.prototype.msPointerDown = function(inEvent) {
|
||||
goog.object.set(this.pointerMap,
|
||||
inEvent.getBrowserEvent().pointerId, inEvent);
|
||||
this.pointerMap[inEvent.getBrowserEvent().pointerId] = inEvent;
|
||||
var e = this.prepareEvent_(inEvent);
|
||||
this.dispatcher.down(e, inEvent);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user