Use named exports from ol/index.js
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
import _ol_ from '../index.js';
|
||||
import {inherits} from '../index.js';
|
||||
import _ol_pointer_EventSource_ from '../pointer/EventSource.js';
|
||||
|
||||
/**
|
||||
@@ -62,7 +62,7 @@ var _ol_pointer_MouseSource_ = function(dispatcher) {
|
||||
this.lastTouches = [];
|
||||
};
|
||||
|
||||
_ol_.inherits(_ol_pointer_MouseSource_, _ol_pointer_EventSource_);
|
||||
inherits(_ol_pointer_MouseSource_, _ol_pointer_EventSource_);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
import _ol_ from '../index.js';
|
||||
import {inherits} from '../index.js';
|
||||
import _ol_pointer_EventSource_ from '../pointer/EventSource.js';
|
||||
|
||||
/**
|
||||
@@ -71,7 +71,7 @@ var _ol_pointer_MsSource_ = function(dispatcher) {
|
||||
];
|
||||
};
|
||||
|
||||
_ol_.inherits(_ol_pointer_MsSource_, _ol_pointer_EventSource_);
|
||||
inherits(_ol_pointer_MsSource_, _ol_pointer_EventSource_);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
import _ol_ from '../index.js';
|
||||
import {inherits} from '../index.js';
|
||||
import _ol_pointer_EventSource_ from '../pointer/EventSource.js';
|
||||
|
||||
/**
|
||||
@@ -53,7 +53,7 @@ var _ol_pointer_NativeSource_ = function(dispatcher) {
|
||||
_ol_pointer_EventSource_.call(this, dispatcher, mapping);
|
||||
};
|
||||
|
||||
_ol_.inherits(_ol_pointer_NativeSource_, _ol_pointer_EventSource_);
|
||||
inherits(_ol_pointer_NativeSource_, _ol_pointer_EventSource_);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
import _ol_ from '../index.js';
|
||||
import {inherits} from '../index.js';
|
||||
import _ol_events_Event_ from '../events/Event.js';
|
||||
|
||||
/**
|
||||
@@ -192,7 +192,7 @@ var _ol_pointer_PointerEvent_ = function(type, originalEvent, opt_eventDict) {
|
||||
}
|
||||
};
|
||||
|
||||
_ol_.inherits(_ol_pointer_PointerEvent_, _ol_events_Event_);
|
||||
inherits(_ol_pointer_PointerEvent_, _ol_events_Event_);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
import _ol_ from '../index.js';
|
||||
import {inherits} from '../index.js';
|
||||
import _ol_events_ from '../events.js';
|
||||
import _ol_events_EventTarget_ from '../events/EventTarget.js';
|
||||
import _ol_has_ from '../has.js';
|
||||
@@ -78,7 +78,7 @@ var _ol_pointer_PointerEventHandler_ = function(element) {
|
||||
this.registerSources();
|
||||
};
|
||||
|
||||
_ol_.inherits(_ol_pointer_PointerEventHandler_, _ol_events_EventTarget_);
|
||||
inherits(_ol_pointer_PointerEventHandler_, _ol_events_EventTarget_);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
import _ol_ from '../index.js';
|
||||
import {inherits} from '../index.js';
|
||||
import _ol_array_ from '../array.js';
|
||||
import _ol_pointer_EventSource_ from '../pointer/EventSource.js';
|
||||
import _ol_pointer_MouseSource_ from '../pointer/MouseSource.js';
|
||||
@@ -82,7 +82,7 @@ var _ol_pointer_TouchSource_ = function(dispatcher, mouseSource) {
|
||||
this.resetId_ = undefined;
|
||||
};
|
||||
|
||||
_ol_.inherits(_ol_pointer_TouchSource_, _ol_pointer_EventSource_);
|
||||
inherits(_ol_pointer_TouchSource_, _ol_pointer_EventSource_);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user