(store: KeyValueStore, project: string, record: UnderstandingRecord)
| 152 | } |
| 153 | |
| 154 | function write(store: KeyValueStore, project: string, record: UnderstandingRecord): void { |
| 155 | try { |
| 156 | store.setItem(understandingKey(project), JSON.stringify(record)); |
| 157 | } catch { |
| 158 | // A full or refused storage is not a reason to lose the click that was |
| 159 | // just made: the marks stay in the value returned above for as long as |
| 160 | // this page lives, and the next read simply finds fewer of them. |
| 161 | } |
| 162 | } |
| 163 | |
| 164 | /** |
| 165 | * One symbol's checklist with this reader's marks drawn over it. |
no test coverage detected