Skip to content

Commit

Permalink
Prepare for publishing
Browse files Browse the repository at this point in the history
Add .npmignore
Adding global CDN chart.js link to test files
  • Loading branch information
anton-shchyrov committed Jun 10, 2019
1 parent 0078c34 commit ba9b0d0
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.idea/
src/
test/

.gitattributes

gulpfile.js

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ plugin for draw gantt series in [Chart.js](https://www.chartjs.org/) library
+ all elements,
+ dataset,
+ some elements of dataset

+ Setting height/width elements
+ Supports time scale

Expand Down
1 change: 1 addition & 0 deletions test/testBaseDateChart.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<div class="chart-container">
<canvas id="chart"></canvas>
</div>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/chart.js@2.8.0/dist/Chart.bundle.min.js"></script>
<script type="text/javascript" src="../dist/chartjs-plugin-gantt.js"></script>
<script type="text/javascript">
function incDate(date) {
Expand Down
1 change: 1 addition & 0 deletions test/testChart.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<div class="chart-container">
<canvas id="chart"></canvas>
</div>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/chart.js@2.8.0/dist/Chart.bundle.min.js"></script>
<script type="text/javascript" src="../dist/chartjs-plugin-gantt.js"></script>
<script type="text/javascript">
const chart = new Chart("chart", {
Expand Down
1 change: 1 addition & 0 deletions test/testDateChart.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<div class="chart-container">
<canvas id="chart"></canvas>
</div>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/chart.js@2.8.0/dist/Chart.bundle.min.js"></script>
<script type="text/javascript" src="../dist/chartjs-plugin-gantt.js"></script>
<script type="text/javascript">
function incDate(date) {
Expand Down

0 comments on commit ba9b0d0

Please sign in to comment.