(el, stateName, state)
| 12180 | } |
| 12181 | |
| 12182 | function createSelectDefaultState(el, stateName, state) { |
| 12183 | // const hasSelect = indexOf(el.currentStates, stateName) >= 0; |
| 12184 | if (state) { |
| 12185 | // TODO Share with textContent? |
| 12186 | if (state.z2 == null) { |
| 12187 | state = extend({}, state); |
| 12188 | var z2SelectLift = el.z2SelectLift; |
| 12189 | state.z2 = el.z2 + (z2SelectLift != null ? z2SelectLift : Z2_SELECT_LIFT); |
| 12190 | } |
| 12191 | } |
| 12192 | |
| 12193 | return state; |
| 12194 | } |
| 12195 | |
| 12196 | function createBlurDefaultState(el, stateName, state) { |
| 12197 | var hasBlur = indexOf(el.currentStates, stateName) >= 0; |
no test coverage detected
searching dependent graphs…