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