()
| 66 | } |
| 67 | |
| 68 | componentDidUpdate() { |
| 69 | let source_is_displayed = |
| 70 | this.state.source_code_state === constants.source_code_states.SOURCE_CACHED || |
| 71 | this.state.source_code_state === |
| 72 | constants.source_code_states.ASSM_AND_SOURCE_CACHED; |
| 73 | if (source_is_displayed) { |
| 74 | if (this.state.make_current_line_visible) { |
| 75 | let success = SourceCode.make_current_line_visible(); |
| 76 | if (success) { |
| 77 | store.set("make_current_line_visible", false); |
| 78 | } |
| 79 | } |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | get_body() { |
| 84 | const states = constants.source_code_states; |
nothing calls this directly
no test coverage detected