(value)
| 4280 | } |
| 4281 | |
| 4282 | function cloneValue(value) { |
| 4283 | if (isArrayLike(value)) { |
| 4284 | var len = value.length; |
| 4285 | if (isArrayLike(value[0])) { |
| 4286 | var ret = []; |
| 4287 | for (var i = 0; i < len; i++) { |
| 4288 | ret.push(arraySlice.call(value[i])); |
| 4289 | } |
| 4290 | return ret; |
| 4291 | } |
| 4292 | |
| 4293 | return arraySlice.call(value); |
| 4294 | } |
| 4295 | |
| 4296 | return value; |
| 4297 | } |
| 4298 | |
| 4299 | function rgba2String(rgba) { |
| 4300 | rgba[0] = Math.floor(rgba[0]); |
no test coverage detected