Skip to content

Commit bdf109f

Browse files
committed
update deprecation warnings for v-ref & v-el
1 parent 14fd7a5 commit bdf109f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/deprecations.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ if (process.env.NODE_ENV !== 'production') {
6161

6262
V_EL: function () {
6363
warn(
64-
'v-el will no longer be a directive in 1.0.0. Use the "el" special attribute instead. ' +
65-
'See https://github.com/yyx990803/vue/issues/1198 for details.'
64+
'v-el will no longer be a directive in 1.0.0. Use the "$$.id" special syntax instead. ' +
65+
'See https://github.com/yyx990803/vue/issues/1292 for details.'
6666
)
6767
},
6868

@@ -90,9 +90,8 @@ if (process.env.NODE_ENV !== 'production') {
9090

9191
V_REF: function () {
9292
warn(
93-
'v-ref will no longer be a directive in 1.0.0; It will become a ' +
94-
'special attribute without the prefix. Use "ref" instead.' +
95-
newBindingSyntaxLink
93+
'v-ref will no longer be a directive in 1.0.0; Use the "$.id" special ' +
94+
'syntax instead. See https://github.com/yyx990803/vue/issues/1292 for details.'
9695
)
9796
},
9897

0 commit comments

Comments
 (0)