mirror of
https://github.com/Leaflet/Leaflet.git
synced 2025-07-21 23:26:12 +00:00
Include prosthetic-hand
from GitHub (#9033)
This commit is contained in:
@ -13,6 +13,7 @@ Reloaded before every execution run.
|
||||
{
|
||||
"imports": {
|
||||
"leaflet": "/base/dist/leaflet-src.esm.js",
|
||||
"prosthetic-hand": "/base/node_modules/prosthetic-hand/lib/Hand.js",
|
||||
"ui-event-simulator": "/base/node_modules/ui-event-simulator/ui-event-simulator.js"
|
||||
}
|
||||
}
|
||||
|
@ -15,6 +15,7 @@ just for immediate execution, without reporting to Karma server.
|
||||
{
|
||||
"imports": {
|
||||
"leaflet": "/base/dist/leaflet-src.esm.js",
|
||||
"prosthetic-hand": "/base/node_modules/prosthetic-hand/lib/Hand.js",
|
||||
"ui-event-simulator": "/base/node_modules/ui-event-simulator/ui-event-simulator.js"
|
||||
}
|
||||
}
|
||||
|
@ -18,8 +18,7 @@ module.exports = function (/** @type {import('karma').Config} */ config) {
|
||||
customContextFile: 'spec/context.html',
|
||||
customDebugFile: 'spec/debug.html',
|
||||
files: [
|
||||
{pattern: 'node_modules/ui-event-simulator/*', included: false, served: true},
|
||||
'node_modules/prosthetic-hand/dist/prosthetic-hand.js',
|
||||
{pattern: 'node_modules/**', included: false, served: true},
|
||||
{pattern: 'dist/**/*.js', included: false, served: true},
|
||||
{pattern: 'dist/**/*.png', included: false, served: true},
|
||||
{pattern: 'spec/setup.js', type: 'module'},
|
||||
|
@ -1,4 +1,5 @@
|
||||
import {Map, Popup, Marker, FeatureGroup, Point, Icon, DivIcon, DomUtil, Polygon} from 'leaflet';
|
||||
import {DivIcon, DomUtil, FeatureGroup, Icon, Map, Marker, Point, Polygon, Popup} from 'leaflet';
|
||||
import Hand from 'prosthetic-hand';
|
||||
import UIEventSimulator from 'ui-event-simulator';
|
||||
import {createContainer, removeMapContainer} from '../SpecHelper.js';
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
import {CircleMarker, FeatureGroup, LayerGroup, Map, Marker, Polygon, Polyline, Rectangle, Tooltip} from 'leaflet';
|
||||
import Hand from 'prosthetic-hand';
|
||||
import UIEventSimulator from 'ui-event-simulator';
|
||||
import {createContainer, removeMapContainer} from '../SpecHelper.js';
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
import {Map, Marker, DomUtil, Point} from 'leaflet';
|
||||
import {DomUtil, Map, Marker, Point} from 'leaflet';
|
||||
import Hand from 'prosthetic-hand';
|
||||
import {createContainer, removeMapContainer} from '../../SpecHelper.js';
|
||||
|
||||
describe('Marker.Drag', () => {
|
||||
|
@ -1,4 +1,5 @@
|
||||
import {Map, Polygon, DomEvent, Marker, Circle, SVG, stamp, Util, Polyline, LayerGroup, Canvas} from 'leaflet';
|
||||
import {Canvas, Circle, DomEvent, LayerGroup, Map, Marker, Polygon, Polyline, SVG, Util, stamp} from 'leaflet';
|
||||
import Hand from 'prosthetic-hand';
|
||||
import UIEventSimulator from 'ui-event-simulator';
|
||||
import {createContainer, removeMapContainer} from '../../SpecHelper.js';
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
import {Map, DomUtil, Point, LatLng, Marker} from 'leaflet';
|
||||
import {DomUtil, LatLng, Map, Marker, Point} from 'leaflet';
|
||||
import Hand from 'prosthetic-hand';
|
||||
import UIEventSimulator from 'ui-event-simulator';
|
||||
import {createContainer, removeMapContainer, touchEventType} from '../../SpecHelper.js';
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
import {LatLng, Map, Polygon, Rectangle} from 'leaflet';
|
||||
import Hand from 'prosthetic-hand';
|
||||
import {createContainer, removeMapContainer, touchEventType} from '../../SpecHelper.js';
|
||||
|
||||
describe('Map.TouchZoom', () => {
|
||||
|
Reference in New Issue
Block a user