Use ol.inherits instead of goog.inherits
This commit is contained in:
@@ -28,7 +28,7 @@ goog.require('ol.interaction.Interaction');
|
||||
*/
|
||||
ol.interaction.KeyboardPan = function(opt_options) {
|
||||
|
||||
goog.base(this, {
|
||||
ol.interaction.Interaction.call(this, {
|
||||
handleEvent: ol.interaction.KeyboardPan.handleEvent
|
||||
});
|
||||
|
||||
@@ -65,7 +65,7 @@ ol.interaction.KeyboardPan = function(opt_options) {
|
||||
options.pixelDelta : 128;
|
||||
|
||||
};
|
||||
goog.inherits(ol.interaction.KeyboardPan, ol.interaction.Interaction);
|
||||
ol.inherits(ol.interaction.KeyboardPan, ol.interaction.Interaction);
|
||||
|
||||
/**
|
||||
* Handles the {@link ol.MapBrowserEvent map browser event} if it was a
|
||||
|
||||
Reference in New Issue
Block a user