mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-23 08:46:07 +08:00
d592474073
- Refactors some of the old code which was 💩
- Makes SidbarSection a factory for different types of items for the
OutlineView
- Decided not to create a OutlineViewItem.Model class since the only
purpose it would serve would be to validate getters for props or for
documentation, both of which are already done via React.PropTypes.
- Adds sections when looking at unified inbox and integrates with new
mailbox perspecitve interface
- Updates OutlineViewItem a bit + styles
- Tests missing
12 lines
175 B
CoffeeScript
12 lines
175 B
CoffeeScript
Reflux = require 'reflux'
|
|
|
|
Actions = [
|
|
'selectAccount'
|
|
]
|
|
|
|
for key in Actions
|
|
Actions[key] = Reflux.createAction(name)
|
|
Actions[key].sync = true
|
|
|
|
module.exports = Actions
|