Use ol.inherits instead of goog.inherits
This commit is contained in:
@@ -25,7 +25,7 @@ ol.interaction.DragRotate = function(opt_options) {
|
||||
|
||||
var options = opt_options ? opt_options : {};
|
||||
|
||||
goog.base(this, {
|
||||
ol.interaction.Pointer.call(this, {
|
||||
handleDownEvent: ol.interaction.DragRotate.handleDownEvent_,
|
||||
handleDragEvent: ol.interaction.DragRotate.handleDragEvent_,
|
||||
handleUpEvent: ol.interaction.DragRotate.handleUpEvent_
|
||||
@@ -50,7 +50,7 @@ ol.interaction.DragRotate = function(opt_options) {
|
||||
*/
|
||||
this.duration_ = options.duration !== undefined ? options.duration : 250;
|
||||
};
|
||||
goog.inherits(ol.interaction.DragRotate, ol.interaction.Pointer);
|
||||
ol.inherits(ol.interaction.DragRotate, ol.interaction.Pointer);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user