Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyFeliz committed Apr 6, 2022
1 parent 455a06b commit e4ea769
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"dev": "vite",
"build": "vue-tsc --noEmit && vite build && npm run generate-types",
"serve": "vite preview",
"lint": "vue-tsc --noEmit",
"generate-types": "vue-dts-gen src/components/vue-tweet.vue --outDir dist",
"generate-tag": "np --no-2fa --no-tests --no-cleanup --no-publish",
"publish": "npm run build && npm publish --access public"
Expand Down
6 changes: 2 additions & 4 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,11 @@

<script setup lang="ts">
import TweetEmbed from "./components/vue-tweet.vue"
function onTweetLoadSuccess(embedNode: HTMLElement) {
console.log("onTweetLoadSuccess callback");
console.log(embedNode);
function onTweetLoadSuccess(embedNode: HTMLDivElement) {
console.log("onTweetLoadSuccess callback", embedNode);
}
function onTweetLoadError() {
console.log("onTweetLoadError callback");
console.log("Ops... an error has occurred");
}
</script>

0 comments on commit e4ea769

Please sign in to comment.