()
| 521 | } |
| 522 | |
| 523 | private initializeSmartValues() { |
| 524 | this.state.currentMode.subscribe((newMode: ClipMode) => { |
| 525 | switch (newMode) { |
| 526 | case ClipMode.FullPage: |
| 527 | case ClipMode.Augmentation: |
| 528 | Clipper.getInjectCommunicator().callRemoteFunction(Constants.FunctionKeys.updatePageInfoIfUrlChanged); |
| 529 | break; |
| 530 | default: |
| 531 | break; |
| 532 | } |
| 533 | }, { callOnSubscribe: false }); |
| 534 | } |
| 535 | |
| 536 | private initializeNumSuccessfulClips(): void { |
| 537 | Clipper.getStoredValue(ClipperStorageKeys.numSuccessfulClips, (numClipsAsStr: string) => { |
no test coverage detected