()
| 833 | }); |
| 834 | } |
| 835 | function fastPoll() { |
| 836 | var missed = false; |
| 837 | pollingFast = true; |
| 838 | function p() { |
| 839 | startOperation(); |
| 840 | var changed = readInput(); |
| 841 | if (!changed && !missed) {missed = true; poll.set(60, p);} |
| 842 | else {pollingFast = false; slowPoll();} |
| 843 | endOperation(); |
| 844 | } |
| 845 | poll.set(20, p); |
| 846 | } |
| 847 | |
| 848 | // Previnput is a hack to work with IME. If we reset the textarea |
| 849 | // on every change, that breaks IME. So we look for changes |
no outgoing calls
no test coverage detected