Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
g1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
76
Issues
76
List
Boards
Labels
Service Desk
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cto
g1
Commits
6798f99f
Commit
6798f99f
authored
Jan 25, 2019
by
S Anand
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ENH: add types.min.js, remove redundant mapviewer requires
@tejesh.p
parent
00406a5a
Pipeline
#74346
passed with stage
in 2 minutes and 15 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
8 deletions
+10
-8
index-mapviewer.js
index-mapviewer.js
+0
-6
index-types.js
index-types.js
+2
-0
index.js
index.js
+1
-1
rollup.config.js
rollup.config.js
+5
-0
test/test-mapviewer-tooltip.html
test/test-mapviewer-tooltip.html
+1
-0
test/test-types.js
test/test-types.js
+1
-1
No files found.
index-mapviewer.js
View file @
6798f99f
export
{
version
}
from
'
./src/package.js
'
export
{
url
}
from
'
./index-urlfilter.js
'
export
{
datafilter
}
from
'
./src/datafilter.js
'
import
'
./index-highlight.js
'
import
'
./index-template.js
'
// import './index-formhandler.js'
import
'
./index-event.js
'
export
{
MapViewer
,
createMapViewer
as
mapviewer
}
from
'
./src/mapviewer.js
'
index-types.js
0 → 100644
View file @
6798f99f
export
{
version
}
from
'
./src/package.js
'
export
{
types
}
from
'
./src/types.js
'
index.js
View file @
6798f99f
// export item into the g1.* namespace
export
{
version
}
from
'
./src/package.js
'
export
{
types
}
from
'
./
src/
types.js
'
export
{
types
}
from
'
./
index-
types.js
'
export
{
url
}
from
'
./index-urlfilter.js
'
export
{
scale
}
from
'
./index-scale.js
'
export
{
datafilter
}
from
'
./index-datafilter.js
'
...
...
rollup.config.js
View file @
6798f99f
...
...
@@ -143,5 +143,10 @@ export default [
format
:
"
umd
"
,
name
:
"
g1
"
}
},
{
input
:
"
index-types
"
,
output
:
{
file
:
"
dist/types.min.js
"
,
format
:
"
umd
"
,
name
:
"
g1
"
},
plugins
:
[
uglify
()]
}
]
test/test-mapviewer-tooltip.html
View file @
6798f99f
...
...
@@ -13,6 +13,7 @@
<script
src=
"../node_modules/leaflet/dist/leaflet.js"
></script>
<script
src=
"../node_modules/d3/build/d3.js"
></script>
<script
src=
"../node_modules/d3-scale-chromatic/dist/d3-scale-chromatic.min.js"
></script>
<script
src=
"../dist/event.min.js"
></script>
<script
src=
"../dist/mapviewer.min.js"
></script>
</head>
...
...
test/test-types.js
View file @
6798f99f
const
test
=
require
(
'
tape
'
)
const
g1
=
require
(
'
../dist/
g1
'
)
const
g1
=
require
(
'
../dist/
types.min
'
)
test
(
'
types test
'
,
function
(
t
)
{
...
...
S Anand
@s.anand
mentioned in merge request
!44 (closed)
·
Jan 25, 2019
mentioned in merge request
!44 (closed)
mentioned in merge request !44
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment