File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -238,6 +238,11 @@ exports.compileRoot = function (el, options) {
238
238
*/
239
239
240
240
function compileNode ( node , options ) {
241
+ /* istanbul ignore if */
242
+ if ( process . env . NODE_ENV !== 'production' && ! config . interpolate ) {
243
+ _ . deprecation . INTERPOLATE ( )
244
+ }
245
+
241
246
var type = node . nodeType
242
247
if ( type === 1 && node . tagName !== 'SCRIPT' ) {
243
248
return compileElement ( node , options )
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ if (process.env.NODE_ENV !== 'production') {
33
33
STRICT_MODE : function ( type , id ) {
34
34
warn (
35
35
'Falling through to parent when resolving ' + type + ' with id "' + id +
36
- '". Strict mode will default to `true` in 1.0.0. ' +
36
+ '". Strict mode will be the default in 1.0.0. ' +
37
37
'See https://github.com/yyx990803/vue/issues/1170 for details.'
38
38
)
39
39
} ,
@@ -201,6 +201,14 @@ if (process.env.NODE_ENV !== 'production') {
201
201
'Use v-for to render the options. See https://github.com/yyx990803/vue/issues/1229 ' +
202
202
'for more details.'
203
203
)
204
+ } ,
205
+
206
+ INTERPOLATE : function ( ) {
207
+ /* istanbul ignore next */
208
+ warn (
209
+ 'The global "interpolate" config will be deprecated in 1.0.0. Use "v-pre" ' +
210
+ 'on elements that should be skipped by the template compiler.'
211
+ )
204
212
}
205
213
206
214
}
You can’t perform that action at this time.
0 commit comments