overleaf/services/track-changes/app/coffee/DiffManager.coffee

8 lines
230 B
CoffeeScript
Raw Normal View History

module.exports = DiffManager =
getDiff: (doc_id, fromDate, toDate, callback = (error, diff) ->) ->
# Flush diff
# Get doc content and version
# Get updates from Mongo
# Check version matches
# Build diff
# Return diff