MCPcopy Create free account
hub / github.com/MALSync/MALSync / reset

Method reset

src/pages-sync/syncPage.ts:140–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

138 curState: any = undefined;
139
140 reset() {
141 this.url = window.location.href;
142 this.UILoaded = false;
143 this.curState = undefined;
144 this.setSearchObj(undefined);
145 if (this.trackingModeInstance) {
146 this.trackingModeInstance.stop();
147 this.trackingModeInstance = undefined;
148 }
149 $('#flashinfo-div, #flash-div-bottom, #flash-div-top, #malp').remove();
150 clearInterval(this.imageFallbackInterval);
151 }
152
153 setSearchObj(searchObj) {
154 if (searchObj) {

Callers 15

initFunction · 0.80
initFunction · 0.80
initFunction · 0.80
initFunction · 0.80
initFunction · 0.80
getDataFunction · 0.80
initFunction · 0.80
checkFunction · 0.80
checkFunction · 0.80
checkFunction · 0.80
handleFunction · 0.80
initFunction · 0.80

Calls 3

setSearchObjMethod · 0.95
removeMethod · 0.80
stopMethod · 0.65

Tested by

no test coverage detected