Skip to content

Commit

Permalink
Merge pull request #9 from zoomment/updated-parcel
Browse files Browse the repository at this point in the history
Updated parcel and added typescript
  • Loading branch information
tigransimonyan authored Mar 3, 2024
2 parents c66b8a8 + a31d312 commit d486ed8
Show file tree
Hide file tree
Showing 24 changed files with 7,698 additions and 15,859 deletions.
6 changes: 6 additions & 0 deletions .parcelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "@parcel/config-default",
"transformers": {
"*.{ts,tsx}": ["@parcel/transformer-typescript-tsc"]
}
}
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
<div style="max-width: 600px; margin: 50px auto 0 auto;">
<h1>Zoomment.com</h1>

<div id=" np" data-emotions="❤️,😀,🪄,🥸,💡,🤔,💩,😢" data-api-url="https://api.mocki.io/v1/a9102859#"
<div id="zoomment" data-emotions="❤️,😀,🪄,🥸,💡,🤔,💩,😢" data-api-url="https://api.mocki.io/v1/a9102859#"
data-theme="light"></div>
<script src="/zoomment-widget/zoomment.min.js"></script>
<script src="zoomment.min.js"></script>
</div>
</body>

Expand Down
411 changes: 5 additions & 406 deletions docs/zoomment.min.js

Large diffs are not rendered by default.

29 changes: 16 additions & 13 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Zoomment.com Widget</title>
</head>

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zoomment.com Widget</title>
</head>

<body>
<div id="zoomment" data-emotions="❤️,😀,🪄,🥸,💡,🤔,💩,😢,😢,😢,😢,😢" data-api-url="http://localhost:9547/api"
data-theme="light" data-language="en"></div>
<script src="src/index.js"></script>
</body>

</html>
<body>
<div
id="zoomment"
data-emotions="❤️,😀,🪄,🥸,💡,🤔,💩,😢,😢,😢,😢,😢"
data-api-url="http://localhost:9547/api"
data-theme="light"
data-language="en"
></div>
<script type="module" src="src/index.tsx"></script>
</body>
</html>
Loading

0 comments on commit d486ed8

Please sign in to comment.