mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
13 lines
338 B
JavaScript
13 lines
338 B
JavaScript
/* 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(':')
|
|
},
|
|
}
|