(el, options)
| 9097 | /* */ |
| 9098 | |
| 9099 | function transformNode (el, options) { |
| 9100 | var warn = options.warn || baseWarn; |
| 9101 | var staticClass = getAndRemoveAttr(el, 'class'); |
| 9102 | if (process.env.NODE_ENV !== 'production' && staticClass) { |
| 9103 | var expression = parseText(staticClass, options.delimiters); |
| 9104 | if (expression) { |
| 9105 | warn( |
| 9106 | "class=\"" + staticClass + "\": " + |
| 9107 | 'Interpolation inside attributes has been removed. ' + |
| 9108 | 'Use v-bind or the colon shorthand instead. For example, ' + |
| 9109 | 'instead of <div class="{{ val }}">, use <div :class="val">.' |
| 9110 | ); |
| 9111 | } |
| 9112 | } |
| 9113 | if (staticClass) { |
| 9114 | el.staticClass = JSON.stringify(staticClass); |
| 9115 | } |
| 9116 | var classBinding = getBindingAttr(el, 'class', false /* getStatic */); |
| 9117 | if (classBinding) { |
| 9118 | el.classBinding = classBinding; |
| 9119 | } |
| 9120 | } |
| 9121 | |
| 9122 | function genData$1 (el) { |
| 9123 | var data = ''; |
nothing calls this directly
no test coverage detected