Skip to content

Commit 22ccdad

Browse files
save file
1 parent d518e97 commit 22ccdad

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

utils/github/backup-github-repo/js/worker.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11

22

33

4-
importScripts('https://javascript-2020.github.io/libs/js/external/js7zip/js7z-st-fs-ec.js');
5-
//importScripts('https://ext-code.com/libs/js/external/js7zip/js7z-st-fs-ec.js');
6-
74

85
var js7z;
96
var archive;
107

118
var console = {};
129
console.log = (...args)=>self.postMessage({type:'log',args});
1310
console.error = (...args)=>self.postMessage({type:'error',args});
11+
console.log('[ worker ]');
12+
13+
importScripts('https://javascript-2020.github.io/libs/js/external/js7zip/js7z-st-fs-ec.js');
14+
//importScripts('https://ext-code.com/libs/js/external/js7zip/js7z-st-fs-ec.js');
1415

16+
1517
self.onmessage = async function({data}){
1618

1719
switch(data.type){

0 commit comments

Comments
 (0)