add 'architecture' question, Reflux option, and related store and actionCreator

This commit is contained in:
Yonatan Schreiber
2015-04-04 14:42:52 +03:00
parent 356df8ec9a
commit f7bb3c2b80
15 changed files with 107 additions and 42 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ MainGenerator.prototype.createMainFile = function createMainFile() {
};
MainGenerator.prototype.createDispatcher = function createDispatcher() {
if(this.env.options.flux) {
if(this.env.options.architecture=='flux') {
this.appTemplate('Dispatcher', 'dispatcher/' + this.scriptAppName + 'Dispatcher');
}
};