(data)
| 6010 | |
| 6011 | // merge static and dynamic style data on the same vnode |
| 6012 | function normalizeStyleData (data) { |
| 6013 | var style = normalizeStyleBinding(data.style); |
| 6014 | // static style is pre-processed into an object during compilation |
| 6015 | // and is always a fresh object, so it's safe to merge into it |
| 6016 | return data.staticStyle |
| 6017 | ? extend(data.staticStyle, style) |
| 6018 | : style |
| 6019 | } |
| 6020 | |
| 6021 | // normalize possible array / string values into Object |
| 6022 | function normalizeStyleBinding (bindingStyle) { |
no test coverage detected