Mailspring/internal_packages/onboarding/lib/onboarding-actions.coffee
Ben Gotow b18ef78239 fix(onboarding): Cleanup for recent commits to onboarding workflow. See description
- rm dead addAccount code that came back in a merge

- use command everywhere to open onboarding

- centralize close vs. quit logic in an OnboardingAction

- fix issue where the window size is calculated improperly because we have a padding value which is a fraction of height. In fact, remove no-top / padding-top 10% for good.
2015-09-28 02:12:35 -07:00

16 lines
295 B
CoffeeScript

Reflux = require 'reflux'
OnboardingActions = Reflux.createActions [
"changeAPIEnvironment"
"loadExternalAuthPage"
"closeWindow"
"moveToPreviousPage"
"moveToPage"
"accountJSONReceived"
]
for key, action of OnboardingActions
action.sync = true
module.exports = OnboardingActions