MCPcopy Index your code
hub / github.com/hoothin/UserScripts / xhrError

Function xhrError

Picviewer CE+/dist.user.js:15226–15230  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15224 await new Promise(resolve => {
15225 setTimeout(() => {
15226 let xhrError = function() {
15227 dataset(node, 'xhr', 'stop');
15228 dataset(node, 'src', dataset(node, 'thumbSrc'));
15229 resolve();
15230 };
15231 xhrLoad.load({
15232 url: node.dataset.src,
15233 xhr: xhr,

Callers 3

getSaveParamsFunction · 0.70
getXhrFunction · 0.70
initFunction · 0.70

Calls 3

datasetFunction · 0.70
resolveFunction · 0.70
beginLoadImgFunction · 0.70

Tested by

no test coverage detected