Browse Source

tweak indent

dev
Evan You 8 years ago
parent
commit
8e810dcfd6
  1. 8
      src/platforms/web/compiler/modules/style.js

8
src/platforms/web/compiler/modules/style.js

@ -17,10 +17,10 @@ function transformNode (el: ASTElement, options: CompilerOptions) {
const expression = parseText(staticStyle, options.delimiters)
if (expression) {
warn(
`style="${staticStyle}": ` +
'Interpolation inside attributes has been removed. ' +
'Use v-bind or the colon shorthand instead. For example, ' +
'instead of <div style="{{ val }}">, use <div :style="val">.'
`style="${staticStyle}": ` +
'Interpolation inside attributes has been removed. ' +
'Use v-bind or the colon shorthand instead. For example, ' +
'instead of <div style="{{ val }}">, use <div :style="val">.'
)
}
}

Loading…
Cancel
Save