Added architecture option for Alt (http://alt.js.org), actions and stores

This commit is contained in:
TLO
2015-05-20 12:33:38 +02:00
parent 9fd0f0ae54
commit 0b732e1a7c
8 changed files with 53 additions and 3 deletions
+6
View File
@@ -27,3 +27,9 @@ MainGenerator.prototype.createDispatcher = function createDispatcher() {
this.appTemplate('Dispatcher', 'dispatcher/' + this.scriptAppName + 'Dispatcher');
}
};
MainGenerator.prototype.createAltjsFile = function createAltjsFile() {
if(this.env.options.architecture=='alt') {
this.appTemplate('alt', 'alt');
}
};