File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -75,17 +75,14 @@ class MonacoEditor extends React.Component{
7575 initSocketEvents ( ) {
7676
7777 this . editor . cursor . onDidChange ( ( data ) => {
78- console . log ( data , "cursorChange" )
7978 socketHandler . emit ( "cursorChange" , data )
8079 } )
8180
8281 this . editor . getModel ( ) . onDidChangeContent ( ( data ) => {
83- console . log ( data , "contentChange" )
8482 socketHandler . emit ( "contentChange" , data )
8583 } )
8684
8785 this . editor . onDidScrollChange ( ( data ) => {
88- console . log ( data , "scrollChange" )
8986 socketHandler . emit ( "scrollChange" , data )
9087 } )
9188
Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ class Server {
8282 } )
8383
8484 socket . on ( 'letsSync' , ( ) => {
85- console . log ( 'salam' )
8685 this . sync ( socket )
8786 } ) ;
8887
You can’t perform that action at this time.
0 commit comments