(value)
| 2885 | } |
| 2886 | } |
| 2887 | function cloneValue(value) { |
| 2888 | if (isArrayLike(value)) { |
| 2889 | var len = value.length; |
| 2890 | if (isArrayLike(value[0])) { |
| 2891 | var ret = []; |
| 2892 | for (var i = 0; i < len; i++) { |
| 2893 | ret.push(arraySlice.call(value[i])); |
| 2894 | } |
| 2895 | return ret; |
| 2896 | } |
| 2897 | return arraySlice.call(value); |
| 2898 | } |
| 2899 | return value; |
| 2900 | } |
| 2901 | function rgba2String(rgba) { |
| 2902 | rgba[0] = Math.floor(rgba[0]); |
| 2903 | rgba[1] = Math.floor(rgba[1]); |
no test coverage detected
searching dependent graphs…