(cache)
| 184 | } |
| 185 | |
| 186 | protected setCache(cache) { |
| 187 | cache = JSON.parse(JSON.stringify(cache)); |
| 188 | setTimeout(() => { |
| 189 | this.databaseRequest(); |
| 190 | }, 200); |
| 191 | return api.storage.set(`${this.page.name}/${this.identifier}/Search`, cache); |
| 192 | } |
| 193 | |
| 194 | static similarity(externalTitle, title, titleArray: string[] = []) { |
| 195 | let simi = compareTwoStrings(title.toLowerCase(), externalTitle.toLowerCase()); |
no test coverage detected