mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-15 06:06:35 +08:00
39c37e10b9
Summary: New Calendar Test Plan: TODO Reviewers: drew, juan, bengotow Reviewed By: bengotow Subscribers: jackie Differential Revision: https://phab.nylas.com/D2767
22 lines
495 B
JavaScript
22 lines
495 B
JavaScript
import {Reflux} from 'nylas-exports'
|
|
|
|
const SchedulerActions = Reflux.createActions([
|
|
'confirmChoices',
|
|
'changeDuration',
|
|
'removeProposedTime',
|
|
'addProposedTime',
|
|
])
|
|
|
|
for (const key in SchedulerActions) {
|
|
if ({}.hasOwnProperty.call(SchedulerActions, key)) {
|
|
SchedulerActions[key].sync = true
|
|
}
|
|
}
|
|
|
|
NylasEnv.actionBridge.registerGlobalAction({
|
|
scope: "SchedulerActions",
|
|
name: "confirmChoices",
|
|
actionFn: SchedulerActions.confirmChoices,
|
|
});
|
|
|
|
export default SchedulerActions
|