File tree 13 files changed +13
-13
lines changed 13 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 5
5
"homepage" : " https://github.com/mapbox/mapbox-gl-draw" ,
6
6
"author" : " mapbox" ,
7
7
"license" : " ISC" ,
8
- "main" : " index .js" ,
8
+ "main" : " dist/mapbox-gl-draw .js" ,
9
9
"style" : " dist/mapbox-gl-draw.css" ,
10
10
"browserify" : {
11
11
"transform" : [
Original file line number Diff line number Diff line change 2
2
import test from 'tape' ;
3
3
import spy from 'sinon/lib/sinon/spy' ; // avoid babel-register-related error by importing only spy
4
4
import * as Constants from '../src/constants' ;
5
- import MapboxDraw from '../' ;
5
+ import MapboxDraw from '../index ' ;
6
6
import createMap from './utils/create_map' ;
7
7
import getGeoJSON from './utils/get_geojson' ;
8
8
import setupAfterNextRender from './utils/after_next_render' ;
Original file line number Diff line number Diff line change 1
1
/* eslint no-shadow:[0] */
2
2
import turfCentroid from '@turf/centroid' ;
3
3
import test from 'tape' ;
4
- import MapboxDraw from '../' ;
4
+ import MapboxDraw from '../index ' ;
5
5
import click from './utils/mouse_click' ;
6
6
import tap from './utils/touch_tap' ;
7
7
import getGeoJSON from './utils/get_geojson' ;
Original file line number Diff line number Diff line change 1
1
import test from 'tape' ;
2
2
import xtend from 'xtend' ;
3
- import MapboxDraw from '../' ;
3
+ import MapboxDraw from '../index ' ;
4
4
import mouseClick from './utils/mouse_click' ;
5
5
import touchTap from './utils/touch_tap' ;
6
6
import createMap from './utils/create_map' ;
Original file line number Diff line number Diff line change 1
1
import test from 'tape' ;
2
2
import xtend from 'xtend' ;
3
- import MapboxDraw from '../' ;
3
+ import MapboxDraw from '../index ' ;
4
4
import mouseClick from './utils/mouse_click' ;
5
5
import touchTap from './utils/touch_tap' ;
6
6
import createMap from './utils/create_map' ;
Original file line number Diff line number Diff line change 1
1
import test from 'tape' ;
2
2
import xtend from 'xtend' ;
3
- import MapboxDraw from '../' ;
3
+ import MapboxDraw from '../index ' ;
4
4
import createMap from './utils/create_map' ;
5
5
import mouseClick from './utils/mouse_click' ;
6
6
import touchTap from './utils/touch_tap' ;
Original file line number Diff line number Diff line change 3
3
import test from 'tape' ;
4
4
import xtend from 'xtend' ;
5
5
import spy from 'sinon/lib/sinon/spy' ; // avoid babel-register-related error by importing only spy
6
- import MapboxDraw from '../' ;
6
+ import MapboxDraw from '../index ' ;
7
7
import click from './utils/mouse_click' ;
8
8
import createMap from './utils/create_map' ;
9
9
import createAfterNextRender from './utils/after_next_render' ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import test from 'tape';
2
2
import spy from 'sinon/lib/sinon/spy' ; // avoid babel-register-related error by importing only spy
3
3
import Feature from '../src/feature_types/feature' ;
4
4
import LineString from '../src/feature_types/line_string' ;
5
- import MapboxDraw from '../' ;
5
+ import MapboxDraw from '../index ' ;
6
6
import createFeature from './utils/create_feature' ;
7
7
import getPublicMemberKeys from './utils/get_public_member_keys' ;
8
8
import createMockCtx from './utils/create_mock_feature_context' ;
Original file line number Diff line number Diff line change 1
1
/* eslint no-shadow:[0] */
2
2
import test from 'tape' ;
3
- import MapboxDraw from '../' ;
3
+ import MapboxDraw from '../index ' ;
4
4
import modes from '../src/modes/index' ;
5
5
import styleWithSourcesFixture from './fixtures/style_with_sources.json' ;
6
6
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import test from 'tape';
2
2
import spy from 'sinon/lib/sinon/spy' ; // avoid babel-register-related error by importing only spy
3
3
import Feature from '../src/feature_types/feature' ;
4
4
import Point from '../src/feature_types/point' ;
5
- import MapboxDraw from '../' ;
5
+ import MapboxDraw from '../index ' ;
6
6
import createFeature from './utils/create_feature' ;
7
7
import getPublicMemberKeys from './utils/get_public_member_keys' ;
8
8
import createMockCtx from './utils/create_mock_feature_context' ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import test from 'tape';
2
2
import spy from 'sinon/lib/sinon/spy' ; // avoid babel-register-related error by importing only spy
3
3
import Feature from '../src/feature_types/feature' ;
4
4
import Polygon from '../src/feature_types/polygon' ;
5
- import MapboxDraw from '../' ;
5
+ import MapboxDraw from '../index ' ;
6
6
import createFeature from './utils/create_feature' ;
7
7
import getPublicMemberKeys from './utils/get_public_member_keys' ;
8
8
import createMockCtx from './utils/create_mock_feature_context' ;
Original file line number Diff line number Diff line change 1
1
/* eslint no-shadow:[0] */
2
2
import test from 'tape' ;
3
- import MapboxDraw from '../' ;
3
+ import MapboxDraw from '../index ' ;
4
4
import spy from 'sinon/lib/sinon/spy' ; // avoid babel-register-related error by importing only spy
5
5
import setupAfterNextRender from './utils/after_next_render' ;
6
6
import makeMouseEvent from './utils/make_mouse_event' ;
Original file line number Diff line number Diff line change 1
1
/* eslint no-shadow:[0] */
2
2
import test from 'tape' ;
3
- import MapboxDraw from '../' ;
3
+ import MapboxDraw from '../index ' ;
4
4
import spy from 'sinon/lib/sinon/spy' ; // avoid babel-register-related error by importing only spy
5
5
import setupAfterNextRender from './utils/after_next_render' ;
6
6
import makeMouseEvent from './utils/make_mouse_event' ;
You can’t perform that action at this time.
0 commit comments