Skip to content

Commit 49b34ca

Browse files
committed
Removed comments and added credits
1 parent e5c12ac commit 49b34ca

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

src/commons/editor/AceCursorMarker.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* This code was part of the @convergencelabs/ace-collab-ext NPM package.
3+
*/
4+
15
import './ace-collab-ext.css';
26

37
import { Ace } from 'ace-builds';

src/commons/editor/AceMultiCursorManager.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* This code was part of the @convergencelabs/ace-collab-ext NPM package.
3+
*/
4+
15
import { Ace } from 'ace-builds';
26

37
import AceCursorMarker from './AceCursorMarker';

src/commons/editor/UseShareAce.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const useShareAce: EditorHook = (inProps, outProps, keyBindings, reactAceRef) =>
2525

2626
const user = {
2727
name: useTypedSelector(state => state.session.name),
28-
color: getColor() //'#5f9ea0' // TODO: random generator
28+
color: getColor()
2929
};
3030

3131
React.useEffect(() => {
@@ -101,7 +101,7 @@ const useShareAce: EditorHook = (inProps, outProps, keyBindings, reactAceRef) =>
101101
// Removes all cursors
102102
cursorManager.removeAll();
103103
};
104-
// eslint-disable-next-line
104+
// eslint-disable-next-line react-hooks/exhaustive-deps
105105
}, [editorSessionId, sessionDetails, reactAceRef]);
106106
};
107107

src/commons/editor/ace-collab-ext.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* This code was part of the @convergencelabs/ace-collab-ext NPM package.
3+
*/
4+
15
.ace-multi-cursor {
26
position: absolute;
37
pointer-events: auto;

0 commit comments

Comments
 (0)