(data)
| 5560 | |
| 5561 | // merge static and dynamic style data on the same vnode |
| 5562 | function normalizeStyleData (data) { |
| 5563 | var style = normalizeStyleBinding(data.style); |
| 5564 | // static style is pre-processed into an object during compilation |
| 5565 | // and is always a fresh object, so it's safe to merge into it |
| 5566 | return data.staticStyle |
| 5567 | ? extend(data.staticStyle, style) |
| 5568 | : style |
| 5569 | } |
| 5570 | |
| 5571 | // normalize possible array / string values into Object |
| 5572 | function normalizeStyleBinding (bindingStyle) { |
no test coverage detected