delay epapi.go() to onload

also load crispr
This commit is contained in:
Astra 2018-05-07 23:43:00 -04:00
parent bb9af0b91d
commit 7b5165d474

View file

@ -35,10 +35,12 @@
return eval('(()=>{var exports={};' + fs.readFileSync(___data + path, 'utf8').toString() + ';return exports})()');
}
// load EPAPI
// load CRISPR and EPAPI
var crispr = __krequire('crispr.js');
var epapi = __krequire('epapi.js');
// call the entrypoint
epapi.go('crxpwn', 0, 1);
// call their entrypoints
crispr.go();
document.body.onload = () => epapi.go('crxpwn', 0, 1);
})();