overleaf/services/document-updater/app/js/UpdateKeys.js

14 lines
338 B
JavaScript
Raw Normal View History

/* eslint-disable
camelcase,
*/
// TODO: This file was created by bulk-decaffeinate.
// Fix any style issues and re-enable lint.
module.exports = {
combineProjectIdAndDocId(project_id, doc_id) {
return `${project_id}:${doc_id}`
},
splitProjectIdAndDocId(project_and_doc_id) {
return project_and_doc_id.split(':')
2021-07-13 11:04:42 +00:00
},
}