* Retrieve 'left', 'right', 'top', 'bottom', 'width', 'height' from object. * @param {Object} source * @return {Object} Result contains those props.
(target, source)
| 19975 | * @return {Object} Result contains those props. |
| 19976 | */ |
| 19977 | function copyLayoutParams(target, source) { |
| 19978 | source && target && each$3(LOCATION_PARAMS, function (name) { |
| 19979 | source.hasOwnProperty(name) && (target[name] = source[name]); |
| 19980 | }); |
| 19981 | return target; |
| 19982 | } |
| 19983 | |
| 19984 | /* |
| 19985 | * Licensed to the Apache Software Foundation (ASF) under one |