MCPcopy Create free account

hub / github.com/aha-app/collaborative-demo / functions

Functions98 in github.com/aha-app/collaborative-demo

↓ 40 callersFunctionremoveOp
(text, offset)
test/javascripts/collaborative_editor/transform.test.js:8
↓ 39 callersFunctioninsertOp
(text, offset)
test/javascripts/collaborative_editor/transform.test.js:7
↓ 23 callersFunctiontransformOperation
(left, right, winTies)
app/javascript/src/collaborative_editor/transform.js:168
↓ 17 callersMethod_apply
(operation)
app/javascript/src/collaborative_editor/CollaborativeDocument.js:87
↓ 14 callersFunctiontransformOffset
(offset, operations)
app/javascript/src/collaborative_editor/transform.js:181
↓ 12 callersMethodapply
(operation)
app/models/document.rb:20
↓ 12 callersFunctionremoveOp
(text, offset)
test/javascripts/collaborative_editor/compose.test.js:4
↓ 11 callersFunctioninsertOp
(text, offset)
test/javascripts/collaborative_editor/compose.test.js:3
↓ 10 callersFunctionoperationWithNewData
(operation, newData)
app/javascript/src/collaborative_editor/utils.js:5
↓ 9 callersFunctioncompose
(operations, operation)
app/javascript/src/collaborative_editor/compose.js:8
↓ 8 callersMethodperform
(operation, allowUndo = true)
app/javascript/src/collaborative_editor/CollaborativeDocument.js:29
↓ 7 callersFunctiontransform
(ourOperations, theirOperations)
app/javascript/src/collaborative_editor/transform.js:3
↓ 6 callersMethodgenerate_remove
(text, offset)
app/models/document.rb:12
↓ 5 callersMethodgenerate_insert
(text, offset)
app/models/document.rb:4
↓ 5 callersFunctionrandomInt
(max)
test/javascripts/collaborative_editor/fuzzer.test.js:9
↓ 4 callersFunctionoperationBounds
(operation)
app/javascript/src/collaborative_editor/transform.js:45
↓ 4 callersFunctiontoArray
(value)
app/javascript/src/collaborative_editor/transform.js:39
↓ 3 callersMethod_change
()
app/javascript/src/collaborative_editor/CollaborativeDocument.js:62
↓ 3 callersMethod_invert
(op)
app/javascript/src/collaborative_editor/UndoStack.js:44
↓ 3 callersFunctionadjustOffsetAfterInsert
(offset, insertOp, transformEqualOffsets)
app/javascript/src/collaborative_editor/transform.js:56
↓ 3 callersFunctionadjustOffsetAfterRemove
(offset, removeOp)
app/javascript/src/collaborative_editor/transform.js:66
↓ 3 callersMethodperformedOperation
(operation)
app/javascript/src/collaborative_editor/UndoStack.js:17
↓ 3 callersMethodrequestOperationsSince
(version)
app/javascript/src/collaborative_editor/OperationsChannel.js:49
↓ 2 callersMethod_transformRemoteSelections
(operation)
app/javascript/src/collaborative_editor/CollaborativeDocument.js:77
↓ 2 callersMethod_transformStack
(stack, operations)
app/javascript/src/collaborative_editor/UndoStack.js:39
↓ 2 callersMethod_updateSelection
(anchor, focus)
app/javascript/src/collaborative_editor/CollaborativeDocument.js:127
↓ 2 callersMethodconnect
(onConnected)
app/javascript/src/collaborative_editor/SelectionsChannel.js:50
↓ 2 callersFunctiongenerateOpStream
(document, count)
test/javascripts/collaborative_editor/fuzzer.test.js:32
↓ 2 callersMethodoperations
(data)
app/channels/operations_channel.rb:9
↓ 2 callersMethodrecalculateCoordinates
()
app/javascript/src/collaborative_editor/SelectionIndicator.js:39
↓ 2 callersMethodreceivedOperations
(operations)
app/javascript/src/collaborative_editor/UndoStack.js:22
↓ 2 callersMethodsetOffset
(clientId, version, offset)
app/javascript/src/collaborative_editor/SelectionsChannel.js:42
↓ 2 callersMethodsetOffset
(newOffset)
app/javascript/src/collaborative_editor/CollaborationClient.js:66
↓ 2 callersMethodupdateVersion
(newVersion)
app/javascript/src/collaborative_editor/CollaborationClient.js:71
↓ 1 callersMethod_error
(data)
app/javascript/src/collaborative_editor/OperationsChannel.js:60
↓ 1 callersMethod_operationAcknowledged
(data)
app/javascript/src/collaborative_editor/OperationsChannel.js:57
↓ 1 callersMethod_operationsReceived
(operations, clientId)
app/javascript/src/collaborative_editor/OperationsChannel.js:63
↓ 1 callersMethod_transformCurrentSelection
(operations)
app/javascript/src/collaborative_editor/CollaborativeDocument.js:120
↓ 1 callersFunctionchannelCallbacks
(channelClass, onConnected)
app/javascript/src/collaborative_editor/SelectionsChannel.js:1
↓ 1 callersFunctionchannelCallbacks
(channelClass, onConnected)
app/javascript/src/collaborative_editor/OperationsChannel.js:1
↓ 1 callersFunctioncomposeOperation
(operation1, operation2)
app/javascript/src/collaborative_editor/compose.js:19
↓ 1 callersMethodconnect
(onConnected)
app/javascript/src/collaborative_editor/OperationsChannel.js:38
↓ 1 callersMethodconnectOperationsChannel
(documentId, initialVersion)
app/javascript/src/collaborative_editor/CollaborationClient.js:32
↓ 1 callersMethodconnectSelectionsChannel
(document, initialVersion)
app/javascript/src/collaborative_editor/CollaborationClient.js:46
↓ 1 callersMethodpopRedoItem
()
app/javascript/src/collaborative_editor/UndoStack.js:33
↓ 1 callersMethodpopUndoItem
()
app/javascript/src/collaborative_editor/UndoStack.js:27
↓ 1 callersMethodreceived
(selectionData)
app/javascript/src/collaborative_editor/SelectionsChannel.js:31
↓ 1 callersMethodredo
()
app/javascript/src/collaborative_editor/CollaborativeDocument.js:56
↓ 1 callersMethodrender
()
app/javascript/src/collaborative_editor/SelectionIndicator.js:86
↓ 1 callersMethodsetSelection
(anchor, focus)
app/javascript/src/collaborative_editor/CollaborativeDocument.js:45
↓ 1 callersMethodstartCollaborating
(version)
app/javascript/src/collaborative_editor/CollaborativeDocument.js:20
↓ 1 callersMethodsubmitOperation
(operation)
app/javascript/src/collaborative_editor/OperationsChannel.js:53
↓ 1 callersMethodsubmitOperations
(operations)
app/javascript/src/collaborative_editor/CollaborationClient.js:59
↓ 1 callersFunctiontransformInsertInsert
(left, right, winTies)
app/javascript/src/collaborative_editor/transform.js:77
↓ 1 callersFunctiontransformInsertRemove
(left, right, winTies)
app/javascript/src/collaborative_editor/transform.js:82
↓ 1 callersFunctiontransformRemoveInsert
(left, right, winTies)
app/javascript/src/collaborative_editor/transform.js:87
↓ 1 callersFunctiontransformRemoveRemove
(left, right, winTies)
app/javascript/src/collaborative_editor/transform.js:121
↓ 1 callersMethodundo
()
app/javascript/src/collaborative_editor/CollaborativeDocument.js:50
Method_allOperationsAcknowledged
()
app/javascript/src/collaborative_editor/CollaborativeDocument.js:133
Methodbroadcast_key
app/channels/selections_channel.rb:13
Methodbroadcast_key
app/channels/operations_channel.rb:36
MethodcanRedo
()
app/javascript/src/collaborative_editor/UndoStack.js:13
MethodcanUndo
()
app/javascript/src/collaborative_editor/UndoStack.js:9
Methodchange
db/migrate/20180219051731_create_documents.rb:2
Methodchange
db/migrate/20180219052018_create_operations.rb:2
Methodclient_key
app/channels/operations_channel.rb:40
FunctioncomponentDidMount
()
app/javascript/src/collaborative_editor/CollaborativeEditor.js:112
MethodcomponentDidMount
()
app/javascript/src/collaborative_editor/SelectionIndicator.js:46
FunctioncomponentDidUpdate
()
app/javascript/src/collaborative_editor/CollaborativeEditor.js:121
MethodcomponentDidUpdate
()
app/javascript/src/collaborative_editor/SelectionIndicator.js:66
FunctioncomponentWillUnmount
()
app/javascript/src/collaborative_editor/CollaborativeEditor.js:117
MethodcomponentWillUnmount
()
app/javascript/src/collaborative_editor/SelectionIndicator.js:55
Methodconnect
(document, initialVersion)
app/javascript/src/collaborative_editor/CollaborationClient.js:25
Functionconstructor
(props)
app/javascript/src/collaborative_editor/CollaborativeEditor.js:6
Methodconstructor
(documentId, content, onChange)
app/javascript/src/collaborative_editor/CollaborativeDocument.js:6
Methodconstructor
(props)
app/javascript/src/collaborative_editor/SelectionIndicator.js:34
Methodconstructor
()
app/javascript/src/collaborative_editor/UndoStack.js:4
Methodconstructor
({ clientId, documentId, version, onSelectionUpdate })
app/javascript/src/collaborative_editor/SelectionsChannel.js:24
Methodconstructor
({ onOperationReceived, onAllOperationsAcknowledged, onSelectionUpdate })
app/javascript/src/collaborative_editor/CollaborationClient.js:9
Methodconstructor
({ clientId, documentId, onReceived, onAcknowledged, onError })
app/javascript/src/collaborative_editor/OperationsChannel.js:30
Methodedit
app/controllers/documents_controller.rb:2
FunctiongenerateRandomInsertOp
(document)
test/javascripts/collaborative_editor/fuzzer.test.js:13
FunctiongenerateRandomRemoveOp
(document)
test/javascripts/collaborative_editor/fuzzer.test.js:23
Functionif
(this.selectionIsCollapsed)
app/javascript/src/collaborative_editor/CollaborativeEditor.js:168
Methodoffset
()
app/javascript/src/collaborative_editor/CollaborativeDocument.js:16
Methodoperation_params
(params)
app/channels/operations_channel.rb:44
FunctionselectionDirection
()
app/javascript/src/collaborative_editor/CollaborativeEditor.js:36
FunctionselectionEnd
()
app/javascript/src/collaborative_editor/CollaborativeEditor.js:29
FunctionselectionIsCollapsed
()
app/javascript/src/collaborative_editor/CollaborativeEditor.js:18
FunctionselectionIsCurrent
app/javascript/src/collaborative_editor/Selections.js:4
FunctionselectionStart
()
app/javascript/src/collaborative_editor/CollaborativeEditor.js:22
Methodsend_operations_since
(version)
app/channels/operations_channel.rb:31
Methodset_offset
(data)
app/channels/selections_channel.rb:8
MethodshouldComponentUpdate
(nextProps, nextState)
app/javascript/src/collaborative_editor/SelectionIndicator.js:70
Methodsubmit
(data)
app/channels/operations_channel.rb:13
Methodsubscribed
app/channels/selections_channel.rb:2
Methodsubscribed
app/channels/operations_channel.rb:2
MethodupdateVersion
(newVersion)
app/javascript/src/collaborative_editor/SelectionsChannel.js:46