(option)
| 22870 | } |
| 22871 | |
| 22872 | function compatLayoutProperties(option) { |
| 22873 | each$1(LAYOUT_PROPERTIES, function (prop) { |
| 22874 | if (prop[0] in option && !(prop[1] in option)) { |
| 22875 | option[prop[1]] = option[prop[0]]; |
| 22876 | } |
| 22877 | }); |
| 22878 | } |
| 22879 | |
| 22880 | var LAYOUT_PROPERTIES = [ |
| 22881 | ['x', 'left'], ['y', 'top'], ['x2', 'right'], ['y2', 'bottom'] |
no test coverage detected