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 {
138138 } ) ;
139139 }
140140 } ) ;
141- console . log ( details . responseHeaders ) ;
142141 return {
143142 responseHeaders : details . responseHeaders
144143 }
@@ -372,7 +371,6 @@ export class BackgroundGrant {
372371
373372 protected dealXhr ( config : GM_Types . XHRDetails , xhr : XMLHttpRequest ) : GM_Types . XHRResponse {
374373 let removeXCat = new RegExp ( "x-cat-" + this . rand + "-" , "g" ) ;
375- console . log ( xhr . getAllResponseHeaders ( ) . replace ( removeXCat , "" ) , removeXCat ) ;
376374 let respond : GM_Types . XHRResponse = {
377375 finalUrl : config . url ,
378376 readyState : < any > xhr . readyState ,
Original file line number Diff line number Diff line change @@ -214,8 +214,8 @@ export default class Index extends Vue {
214214 diffWordWrap: " off" ,
215215 });
216216 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" ),
219219 });
220220 this .isupdate = true ;
221221 this .oldVersion =
You can’t perform that action at this time.
0 commit comments