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