(el, options)
| 9135 | /* */ |
| 9136 | |
| 9137 | function transformNode$1 (el, options) { |
| 9138 | var warn = options.warn || baseWarn; |
| 9139 | var staticStyle = getAndRemoveAttr(el, 'style'); |
| 9140 | if (staticStyle) { |
| 9141 | /* istanbul ignore if */ |
| 9142 | { |
| 9143 | var expression = parseText(staticStyle, options.delimiters); |
| 9144 | if (expression) { |
| 9145 | warn( |
| 9146 | "style=\"" + staticStyle + "\": " + |
| 9147 | 'Interpolation inside attributes has been removed. ' + |
| 9148 | 'Use v-bind or the colon shorthand instead. For example, ' + |
| 9149 | 'instead of <div style="{{ val }}">, use <div :style="val">.' |
| 9150 | ); |
| 9151 | } |
| 9152 | } |
| 9153 | el.staticStyle = JSON.stringify(parseStyleText(staticStyle)); |
| 9154 | } |
| 9155 | |
| 9156 | var styleBinding = getBindingAttr(el, 'style', false /* getStatic */); |
| 9157 | if (styleBinding) { |
| 9158 | el.styleBinding = styleBinding; |
| 9159 | } |
| 9160 | } |
| 9161 | |
| 9162 | function genData$2 (el) { |
| 9163 | var data = ''; |
nothing calls this directly
no test coverage detected