Rename _ol_events_EventType_ to EventType
This commit is contained in:
committed by
Frederic Junod
parent
ec64789940
commit
479c7a4668
@@ -6,7 +6,7 @@ import Control from '../control/Control.js';
|
||||
import _ol_css_ from '../css.js';
|
||||
import {easeOut} from '../easing.js';
|
||||
import _ol_events_ from '../events.js';
|
||||
import _ol_events_EventType_ from '../events/EventType.js';
|
||||
import EventType from '../events/EventType.js';
|
||||
import {inherits} from '../index.js';
|
||||
|
||||
/**
|
||||
@@ -51,7 +51,7 @@ var Rotate = function(opt_options) {
|
||||
button.title = tipLabel;
|
||||
button.appendChild(this.label_);
|
||||
|
||||
_ol_events_.listen(button, _ol_events_EventType_.CLICK,
|
||||
_ol_events_.listen(button, EventType.CLICK,
|
||||
Rotate.prototype.handleClick_, this);
|
||||
|
||||
var cssClasses = className + ' ' + _ol_css_.CLASS_UNSELECTABLE + ' ' +
|
||||
|
||||
Reference in New Issue
Block a user