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