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) {
238238 */
239239
240240function compileNode ( node , options ) {
241+ /* istanbul ignore if */
242+ if ( process . env . NODE_ENV !== 'production' && ! config . interpolate ) {
243+ _ . deprecation . INTERPOLATE ( )
244+ }
245+
241246 var type = node . nodeType
242247 if ( type === 1 && node . tagName !== 'SCRIPT' ) {
243248 return compileElement ( node , options )
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ if (process.env.NODE_ENV !== 'production') {
3333 STRICT_MODE : function ( type , id ) {
3434 warn (
3535 '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. ' +
3737 'See https://github.com/yyx990803/vue/issues/1170 for details.'
3838 )
3939 } ,
@@ -201,6 +201,14 @@ if (process.env.NODE_ENV !== 'production') {
201201 'Use v-for to render the options. See https://github.com/yyx990803/vue/issues/1229 ' +
202202 'for more details.'
203203 )
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+ )
204212 }
205213
206214 }
You can’t perform that action at this time.
0 commit comments