Method: Collab::JS.apply_commit

Defined in:
lib/collab/js.rb

.apply_commit(document, commit, pos: nil, map_steps_through:, schema_name:) ⇒ Object



30
31
32
# File 'lib/collab/js.rb', line 30

def apply_commit(document, commit, pos: nil, map_steps_through:, schema_name:)
  call("applyCommit", {doc: document, commit: commit, mapStepsThrough: map_steps_through, pos: pos},schema_name)
end