Refactor view/controller logic between files, fix syntax & silly bugs.

This commit is contained in:
David Baker 2015-07-16 12:44:04 +01:00
parent e2757b3587
commit df790c1b54
5 changed files with 121 additions and 70 deletions

View file

@ -179,7 +179,7 @@ module.exports = {
dis.dispatch({action: 'focus_composer'});
},
showScreen(screen, params) {
showScreen: function(screen, params) {
if (screen == 'register') {
dis.dispatch({
action: 'start_registration',