Skip to content

Commit 337405b

Browse files
author
m.r
committed
example package and link update
1 parent 5ba4233 commit 337405b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+379
-399
lines changed

.github/workflows/publish.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Publish Package to NPM
2-
on: push
3-
# on:
4-
# release:
5-
# types: [published]
2+
# on: push
3+
on:
4+
release:
5+
types: [published]
66
jobs:
77
publish:
88
name: Publish to NPM

example/CDN/generateExcel/ex1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<body>
2929
<p>For generate Excel please click the below button</p>
3030
<button onclick="generateExcel()">Generate Excel</button>
31-
<script src="../../../dist/excel-table.umd.js"></script>
31+
<script src="https://unpkg.com/mr-excel@latest/dist/excel-table.umd.js"></script>
3232
<script>
3333
//<https://colorhunt.co/palette/f9ed69f08a5db83b5e6a2c70>
3434
const data = {

example/CDN/generateExcel/ex10.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<p> | </p><a
4646
href="https://github.com/mohammadrezaeicode/mr-excel-page-repo/blob/main/public/img/ex10.PNG?raw=true">Result</a>
4747
</div>
48-
<script src="../../../dist/excel-table.umd.js"></script>
48+
<script src="https://unpkg.com/mr-excel@latest/dist/excel-table.umd.js"></script>
4949
<script>
5050
const colorPalette = {
5151
c4: 'FFC7C7',

example/CDN/generateExcel/ex11.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<p> | </p><a
4646
href="https://github.com/mohammadrezaeicode/mr-excel-page-repo/blob/main/public/img/ex11.PNG?raw=true">Result</a>
4747
</div>
48-
<script src="../../../dist/excel-table.umd.js"></script>
48+
<script src="https://unpkg.com/mr-excel@latest/dist/excel-table.umd.js"></script>
4949
<script>
5050
const colorPalette = {
5151
c4: 'FFC7C7',

example/CDN/generateExcel/ex12.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
<td>Italy</td>
104104
</tr>
105105
</table>
106-
<script src="../../../dist/excel-table.umd.js"></script>
106+
<script src="https://unpkg.com/mr-excel@latest/dist/excel-table.umd.js"></script>
107107
<script>
108108

109109
function generateExcel() {

example/CDN/generateExcel/ex14.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<p> | </p><a
4646
href="https://github.com/mohammadrezaeicode/mr-excel-page-repo/blob/main/public/img/ex14.PNG?raw=true">Result</a>
4747
</div>
48-
<script src="../../../dist/excel-table.umd.js"></script>
48+
<script src="https://unpkg.com/mr-excel@latest/dist/excel-table.umd.js"></script>
4949
<script>
5050
const colorPalette = {
5151
c4: '61677A',

example/CDN/generateExcel/ex15.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<p> | </p><a
4646
href="https://github.com/mohammadrezaeicode/mr-excel-page-repo/blob/main/public/img/ex15.PNG?raw=true">Result</a>
4747
</div>
48-
<script src="../../../dist/excel-table.umd.js"></script>
48+
<script src="https://unpkg.com/mr-excel@latest/dist/excel-table.umd.js"></script>
4949
<script>
5050
const colorPalette = {
5151
c4: 'F7E987',

example/CDN/generateExcel/ex16.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<p> | </p><a
4646
href="https://github.com/mohammadrezaeicode/mr-excel-page-repo/blob/main/public/img/ex16.PNG?raw=true">Result</a>
4747
</div>
48-
<script src="../../../dist/excel-table.umd.js"></script>
48+
<script src="https://unpkg.com/mr-excel@latest/dist/excel-table.umd.js"></script>
4949
<script>
5050
const color = { c4: '00ADB5', c2: '393E46' };
5151
const alignLeft = { alignment: { horizontal: 'left', vertical: 'center' } }

example/CDN/generateExcel/ex17.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<p> | </p><a
4646
href="https://github.com/mohammadrezaeicode/mr-excel-page-repo/blob/main/public/img/ex17.PNG?raw=true">Result</a>
4747
</div>
48-
<script src="../../../dist/excel-table.umd.js"></script>
48+
<script src="https://unpkg.com/mr-excel@latest/dist/excel-table.umd.js"></script>
4949
<script>
5050
const data = {
5151
creator: 'mr',

example/CDN/generateExcel/ex18.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<p> | </p><a
4646
href="https://github.com/mohammadrezaeicode/mr-excel-page-repo/blob/main/public/img/ex18.PNG?raw=true">Result</a>
4747
</div>
48-
<script src="../../../dist/excel-table.umd.js"></script>
48+
<script src="https://unpkg.com/mr-excel@latest/dist/excel-table.umd.js"></script>
4949
<script>
5050
const data = {
5151
activateConditionalFormatting: true,

0 commit comments

Comments
 (0)