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