File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,6 @@ export class BackgroundGrant {
138
138
} ) ;
139
139
}
140
140
} ) ;
141
- console . log ( details . responseHeaders ) ;
142
141
return {
143
142
responseHeaders : details . responseHeaders
144
143
}
@@ -372,7 +371,6 @@ export class BackgroundGrant {
372
371
373
372
protected dealXhr ( config : GM_Types . XHRDetails , xhr : XMLHttpRequest ) : GM_Types . XHRResponse {
374
373
let removeXCat = new RegExp ( "x-cat-" + this . rand + "-" , "g" ) ;
375
- console . log ( xhr . getAllResponseHeaders ( ) . replace ( removeXCat , "" ) , removeXCat ) ;
376
374
let respond : GM_Types . XHRResponse = {
377
375
finalUrl : config . url ,
378
376
readyState : < any > xhr . readyState ,
Original file line number Diff line number Diff line change @@ -214,8 +214,8 @@ export default class Index extends Vue {
214
214
diffWordWrap: " off" ,
215
215
});
216
216
this .diff .setModel ({
217
- original: editor .createModel (oldsub .code , " javascript" ),
218
- modified: editor .createModel (this . script .code , " javascript" ),
217
+ original: editor .createModel (this . script .code , " javascript" ),
218
+ modified: editor .createModel (oldsub .code , " javascript" ),
219
219
});
220
220
this .isupdate = true ;
221
221
this .oldVersion =
You can’t perform that action at this time.
0 commit comments