@@ -106,15 +106,15 @@ if (process.env.NODE_ENV !== 'production') {
106
106
warn (
107
107
'Mustache interpolations inside attributes: ' + name + '="' + value + '". ' +
108
108
'This will be deprecated in 1.0.0. ' +
109
- 'Use the "bind-" syntax instead.' + newBindingSyntaxLink
109
+ 'Use v-bind:attr="expression" instead.' + newBindingSyntaxLink
110
110
)
111
111
} ,
112
112
113
113
PROPS : function ( attr , value ) {
114
114
warn (
115
115
'Prop ' + attr + '="' + value + '": props no longer use mustache tags ' +
116
- 'to indicate a dynamic binding. Use the "bind-" prefix instead. ' +
117
- newBindingSyntaxLink
116
+ 'to indicate a dynamic binding. Use the "v- bind:prop-name" or the colon ' +
117
+ 'shorthand instead.' + newBindingSyntaxLink
118
118
)
119
119
} ,
120
120
@@ -129,21 +129,23 @@ if (process.env.NODE_ENV !== 'production') {
129
129
warn (
130
130
'Prop ' + attr + '="' + value + '": literal props will no longer be ' +
131
131
'auto-casted into booleans/numbers in 1.0.0 - they will all be treated ' +
132
- 'as literal strings. Use "bind-" syntax for boolean/number literals instead.'
132
+ 'as literal strings. Use "v-bind" or the colon shorthand for ' +
133
+ 'boolean/number literals instead.'
133
134
)
134
135
} ,
135
136
136
137
BIND_IS : function ( ) {
137
138
warn (
138
139
'<component is="{{view}}"> syntax will be deprecated in 1.0.0. Use ' +
139
- '<component bind- is="view"> instead.'
140
+ '<component v-bind:is="view"> or <component : is="view"> instead.'
140
141
)
141
142
} ,
142
143
143
144
PARTIAL_NAME : function ( id ) {
144
145
warn (
145
146
'<partial name="' + id + '">: mustache interpolations inside attributes ' +
146
- 'will be deprecated in 1.0.0. Use bind-name="expression" instead.'
147
+ 'will be deprecated in 1.0.0. Use v-bind:name="expression" or just ' +
148
+ ':name="expression" instead.'
147
149
)
148
150
} ,
149
151
@@ -173,7 +175,7 @@ if (process.env.NODE_ENV !== 'production') {
173
175
MODEL_EXP : function ( exp ) {
174
176
warn (
175
177
'Params "exp", "true-exp" and "false-exp" for v-model will be deprecated in 1.0.0. ' +
176
- 'Use "bind- value", "bind- true-value" and "bind- false-value" instead.'
178
+ 'Use "v-bind: value", "v-bind: true-value" and "v-bind: false-value" instead.'
177
179
)
178
180
} ,
179
181
0 commit comments