stuff not ready to be pushed to master

This commit is contained in:
Edin Dazdarevic
2015-03-08 22:29:37 +01:00
parent fce49c9f5b
commit cb37ff0391
9 changed files with 234 additions and 49 deletions

View File

@@ -52,6 +52,13 @@ var UserActions = {
AppDispatcher.handleAction({
actionType: UserConstants.USER_LOGOUT_DONE
});
NavigationActions.goToHome();
},
clearLogin: function() {
console.log('clearing login form');
AppDispatcher.handleAction({
actionType: UserConstants.USER_LOGIN_CLEAR
});
},
userLogin: function(loginDetails) {
AppDispatcher.handleAction({