Mailspring/packages/client-app/internal_packages/message-autoload-images/lib/autoload-images-actions.es6

14 lines
255 B
Text
Raw Normal View History

import Reflux from 'reflux';
const ActionNames = [
'temporarilyEnableImages',
'permanentlyEnableImages',
];
const Actions = Reflux.createActions(ActionNames);
2016-05-06 13:30:34 +08:00
ActionNames.forEach((name) => {
Actions[name].sync = true;
});
export default Actions;