(bindingStyle)
| 5572 | |
| 5573 | // normalize possible array / string values into Object |
| 5574 | function normalizeStyleBinding (bindingStyle) { |
| 5575 | if (Array.isArray(bindingStyle)) { |
| 5576 | return toObject(bindingStyle) |
| 5577 | } |
| 5578 | if (typeof bindingStyle === 'string') { |
| 5579 | return parseStyleText(bindingStyle) |
| 5580 | } |
| 5581 | return bindingStyle |
| 5582 | } |
| 5583 | |
| 5584 | /** |
| 5585 | * parent component style should be after child's |
no test coverage detected