Permalink
Browse files

fix: this is not defined in props

  • Loading branch information...
pi0 committed Sep 1, 2017
1 parent c113b6d commit fe4ff063fb505a0277e5cb10e93bfec54e2b9723
Showing with 2 additions and 16 deletions.
  1. +1 −8 lib/components/popover.vue
  2. +1 −8 lib/components/tooltip.vue
@@ -23,14 +23,7 @@
props: {
target: {
// ID of element, or a reference to an element or component
type: [String, Object],
default() {
if (this.targetId) {
warn("b-popover: Prop 'target-id' is deprecated. Please use 'target' instead");
return this.targetId;
}
return null;
}
type: [String, Object]
},
targetId: {
// Deprecated: ID of element to place popver on
@@ -20,14 +20,7 @@
props: {
target: {
// String ID of element, or element/component reference
type: [String, Object],
default() {
if (this.targetId) {
warn("b-tooltip: Prop 'target-id' is deprecated. Please use 'target' instead");
return this.targetId;
}
return null;
}
type: [String, Object]
},
targetId: {
// Deprecated: ID of element to place tooltip on

0 comments on commit fe4ff06

Please sign in to comment.