(rawText)
| 889 | }, 1000) |
| 890 | |
| 891 | parse (rawText) { |
| 892 | let result = '' |
| 893 | const len = rawText.length |
| 894 | for (let i = 0; i < len; i++) { |
| 895 | if (rawText[i] === '\b') { |
| 896 | result = result.slice(0, -1) |
| 897 | } else { |
| 898 | result += rawText[i] |
| 899 | } |
| 900 | } |
| 901 | return result |
| 902 | } |
| 903 | |
| 904 | getCmd = () => { |
| 905 | return this.cmdAddon.getCurrentCommand() |
no outgoing calls