mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-08 22:18:28 +03:00
Almost all JSON properties to JavaScript camelCase
This commit is contained in:
parent
7a53cae32f
commit
f080a302b1
50 changed files with 501 additions and 562 deletions
|
|
@ -21,11 +21,11 @@ export class AttachmentCollectionModel extends AbstractCollectionModel
|
|||
}
|
||||
|
||||
/**
|
||||
* @param {string} cid
|
||||
* @param {string} cId
|
||||
* @returns {*}
|
||||
*/
|
||||
findByCid(cid) {
|
||||
cid = cid.replace(/^<+|>+$/g, '');
|
||||
return this.find(item => cid === item.contentId());
|
||||
findByCid(cId) {
|
||||
cId = cId.replace(/^<+|>+$/g, '');
|
||||
return this.find(item => cId === item.contentId());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue