Skip to content

Commit

Permalink
change import
Browse files Browse the repository at this point in the history
  • Loading branch information
codestance committed Apr 8, 2022
1 parent b3d1a7e commit cf075dd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ <h2>O danych</h2>
<script src="https://d3js.org/d3.v5.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/c3/0.7.2/c3.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="births.js"></script>
<script src="race.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.8/js/select2.min.js"></script>
<script>
var chart,data;
Expand Down Expand Up @@ -186,8 +188,8 @@ <h2>O danych</h2>
})
</script>
<script type="module">
import {default as births} from './births.js'
import {default as race} from './race.js'
// import {default as births} from './births.js'
// import {default as race} from './race.js'
births('births')
race('raceM', 2021)
race('raceW', 2021)
Expand Down

0 comments on commit cf075dd

Please sign in to comment.