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