(bindingStyle)
| 6020 | |
| 6021 | // normalize possible array / string values into Object |
| 6022 | function normalizeStyleBinding (bindingStyle) { |
| 6023 | if (Array.isArray(bindingStyle)) { |
| 6024 | return toObject(bindingStyle) |
| 6025 | } |
| 6026 | if (typeof bindingStyle === 'string') { |
| 6027 | return parseStyleText(bindingStyle) |
| 6028 | } |
| 6029 | return bindingStyle |
| 6030 | } |
| 6031 | |
| 6032 | /** |
| 6033 | * parent component style should be after child's |
no test coverage detected