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