Use create*
prefix to clarify curried functions
This commit is contained in:
parent
6e6b93d917
commit
8474f3cf7f
4 changed files with 25 additions and 23 deletions
|
@ -111,9 +111,9 @@ window.ProxyAgent = require('proxy-agent');
|
|||
|
||||
// ES2015+ modules
|
||||
const attachmentsPath = Attachments.getPath(app.getPath('userData'));
|
||||
const deleteAttachmentData = Attachments.deleteData(attachmentsPath);
|
||||
const readAttachmentData = Attachments.readData(attachmentsPath);
|
||||
const writeAttachmentData = Attachments.writeData(attachmentsPath);
|
||||
const deleteAttachmentData = Attachments.createDeleter(attachmentsPath);
|
||||
const readAttachmentData = Attachments.createReader(attachmentsPath);
|
||||
const writeAttachmentData = Attachments.createWriter(attachmentsPath);
|
||||
|
||||
// Injected context functions to keep `Message` agnostic from Electron:
|
||||
const upgradeSchemaContext = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue