Commit 15cc184 1 parent b50f107 commit 15cc184 Copy full SHA for 15cc184
File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -340,12 +340,12 @@ const loader = setInterval(() => {
340
340
const language = findLanguage ( ) ;
341
341
if ( language !== null ) {
342
342
uploadGit (
343
- btoa ( unescape ( encodeURIComponent ( code ) ) ) ,
343
+ btoa ( unescape ( encodeURIComponent ( probStatement ) ) ) ,
344
344
problemName ,
345
- problemName + language ,
346
- probStats ,
345
+ 'README.md' ,
346
+ readmeMsg ,
347
347
'upload' ,
348
- ) ; // Encode `code` to base64
348
+ ) ;
349
349
350
350
/* Only create README if not already created */
351
351
chrome . storage . sync . get ( 'stats' , ( s ) => {
@@ -364,15 +364,15 @@ const loader = setInterval(() => {
364
364
/* @TODO : Change this setTimeout to Promise */
365
365
setTimeout ( function ( ) {
366
366
uploadGit (
367
- btoa ( unescape ( encodeURIComponent ( probStatement ) ) ) ,
367
+ btoa ( unescape ( encodeURIComponent ( code ) ) ) ,
368
368
problemName ,
369
- 'README.md' ,
370
- readmeMsg ,
369
+ problemName + language ,
370
+ probStats ,
371
371
'upload' ,
372
- ) ;
372
+ ) ; // Encode `code` to base64
373
373
} , 2000 ) ;
374
374
}
375
375
} ) ;
376
376
}
377
377
}
378
- } , 1000 ) ;
378
+ } , 1000 ) ;
You can’t perform that action at this time.
0 commit comments