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

8 lines
No EOL
230 B
CoffeeScript

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