Use ol.inherits instead of goog.inherits
This commit is contained in:
@@ -46,7 +46,7 @@ ol.pointer.MouseSource = function(dispatcher) {
|
||||
'mouseover': this.mouseover,
|
||||
'mouseout': this.mouseout
|
||||
};
|
||||
goog.base(this, dispatcher, mapping);
|
||||
ol.pointer.EventSource.call(this, dispatcher, mapping);
|
||||
|
||||
/**
|
||||
* @const
|
||||
@@ -60,7 +60,7 @@ ol.pointer.MouseSource = function(dispatcher) {
|
||||
*/
|
||||
this.lastTouches = [];
|
||||
};
|
||||
goog.inherits(ol.pointer.MouseSource, ol.pointer.EventSource);
|
||||
ol.inherits(ol.pointer.MouseSource, ol.pointer.EventSource);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user