Skip to content

Commit

Permalink
chore: sync lint
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Apr 12, 2024
1 parent 666326d commit 813cbb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ addConfetti({ emojis: ['🌈', '⚡️', '💥', '✨', '💫', '🌸'] })

The registry is a collection of third-party scripts with out-of-the-box composable and component integrations for Nuxt Scripts.

Some registry scripts are stubs for external modules. When using these it will prompt to install the module for you.
Some registry scripts are stubs for external modules. When using these it will prompt to install the module for you.

- [Cloudflare Turnstile](#cloudflare-turnstile) - Nuxt Turnstile
- [Cloudflare Web Analytics](#cloudflare-web-analytics)
Expand Down
6 changes: 4 additions & 2 deletions src/runtime/components/VimeoEmbed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const props = withDefaults(
rootMargin?: string
width?: string | number
height?: string | number
options?: Object
options?: Record<string, any>
loop?: boolean
autoplay?: boolean
controls?: boolean
Expand Down Expand Up @@ -93,7 +93,9 @@ const { Player, $script } = useScriptVimeo({
let player: any
if (!props.lazy) { $script.then(init) }
if (!props.lazy) {
$script.then(init)
}
else {
const { stop: stopIntersectionObserver } = useIntersectionObserver(
root,
Expand Down

0 comments on commit 813cbb0

Please sign in to comment.