(values, value, index)
| 102980 | return values ? values[index] : null; |
| 102981 | } |
| 102982 | function updateValues(values, value, index) { |
| 102983 | var newValues = [getValue(values, 0), getValue(values, 1)]; |
| 102984 | newValues[index] = typeof value === 'function' ? value(newValues[index]) : value; |
| 102985 | |
| 102986 | if (!newValues[0] && !newValues[1]) { |
| 102987 | return null; |
| 102988 | } |
| 102989 | |
| 102990 | return newValues; |
| 102991 | } |
| 102992 | |
| 102993 | /***/ }), |
| 102994 |