(opt, propName)
| 22615 | } |
| 22616 | |
| 22617 | function compatTextStyle(opt, propName) { |
| 22618 | // Check whether is not object (string\null\undefined ...) |
| 22619 | var labelOptSingle = isObject$3(opt) && opt[propName]; |
| 22620 | var textStyle = isObject$3(labelOptSingle) && labelOptSingle.textStyle; |
| 22621 | if (textStyle) { |
| 22622 | for (var i = 0, len = TEXT_STYLE_OPTIONS.length; i < len; i++) { |
| 22623 | var propName = TEXT_STYLE_OPTIONS[i]; |
| 22624 | if (textStyle.hasOwnProperty(propName)) { |
| 22625 | labelOptSingle[propName] = textStyle[propName]; |
| 22626 | } |
| 22627 | } |
| 22628 | } |
| 22629 | } |
| 22630 | |
| 22631 | function compatEC3CommonStyles(opt) { |
| 22632 | if (opt) { |
no outgoing calls
no test coverage detected