mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-19 14:40:26 +08:00
15 lines
412 B
JavaScript
15 lines
412 B
JavaScript
/*
|
|
* decaffeinate suggestions:
|
|
* DS101: Remove unnecessary use of Array.from
|
|
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
|
|
*/
|
|
const Reflux = require('reflux');
|
|
|
|
const Actions = ['focusAccounts', 'setKeyCollapsed'];
|
|
|
|
for (let idx of Array.from(Actions)) {
|
|
Actions[idx] = Reflux.createAction(Actions[idx]);
|
|
Actions[idx].sync = true;
|
|
}
|
|
|
|
module.exports = Actions;
|