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

Function readyHandler

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

Source from the content-addressed store, hash-verified

14066 };
14067
14068 function readyHandler(){//尽快的检测图片大小.
14069 if(loadEndDone || aborted)return true;
14070 if(img.naturalWidth==0 || img.naturalHeight==0)return;
14071 go('ready');
14072 return true;
14073 };
14074
14075
14076 function loadHandler(e){

Callers

nothing calls this directly

Calls 1

goFunction · 0.70

Tested by

no test coverage detected