Skip to content

Commit

Permalink
feat(#296): removed unnecessary v-bind
Browse files Browse the repository at this point in the history
  • Loading branch information
Filip Chamier-Ciemiński authored and mercs600 committed Feb 2, 2023
1 parent 2b56ebe commit 9390dd2
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion lib/components/T3Frame/T3Frame.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<div
class="t3-ce-frame"
:class="computedClasses"
v-bind="$attrs"
>
<slot />
</div>
Expand Down
1 change: 0 additions & 1 deletion lib/components/T3MediaFile/type/Audio.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<template>
<audio
v-bind="$attrs"
class="t3-ce-media-audio"
controls
>
Expand Down
1 change: 0 additions & 1 deletion lib/components/T3MediaFile/type/Image.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<template>
<div
v-bind="$attrs"
class="t3-ce-media-image"
>
<component
Expand Down
1 change: 0 additions & 1 deletion lib/components/T3MediaFile/type/Video.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<template>
<video
v-bind="$attrs"
class="t3-ce-media-video"
controls
>
Expand Down
1 change: 0 additions & 1 deletion lib/components/T3MediaFile/type/Vimeo.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<template>
<iframe
v-bind="$attrs"
:src="file.publicUrl"
:width="file.properties.dimensions.width || 640"
:height="file.properties.dimensions.height || 360"
Expand Down
1 change: 0 additions & 1 deletion lib/components/T3MediaFile/type/Youtube.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<iframe
v-if="file.publicUrl"
id="ytplayer"
v-bind="$attrs"
:width="file.properties.dimensions.width || 640"
:height="file.properties.dimensions.height || 360"
:src="file.publicUrl"
Expand Down
2 changes: 1 addition & 1 deletion lib/components/T3NavLink/T3NavLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default {
...this.$data,
...url.data,
props: {
...this.$attrs,
...this.$props,
...url.props
}
},
Expand Down

0 comments on commit 9390dd2

Please sign in to comment.