(bindingStyle)
| 5566 | |
| 5567 | // normalize possible array / string values into Object |
| 5568 | function normalizeStyleBinding (bindingStyle) { |
| 5569 | if (Array.isArray(bindingStyle)) { |
| 5570 | return toObject(bindingStyle) |
| 5571 | } |
| 5572 | if (typeof bindingStyle === 'string') { |
| 5573 | return parseStyleText(bindingStyle) |
| 5574 | } |
| 5575 | return bindingStyle |
| 5576 | } |
| 5577 | |
| 5578 | /** |
| 5579 | * parent component style should be after child's |
no test coverage detected