Fix passing options and add flexibility for component path

This commit is contained in:
Maksim Ryzhikov committed 2014-07-14 15:19:59 +04:00
1 parent 2b2864de83
commit f4068e7770
3 files changed
+15 -16

No files matched your search

+1 -1
View File
@@ -10,6 +10,6 @@ var MainGenerator = module.exports = function MainGenerator(args, options, confi
util.inherits(MainGenerator, ScriptBase);
MainGenerator.prototype.createAppFile = function createAppFile() {
this.appTemplate('App', 'scripts/components/' + this.scriptAppName);
this.appTemplate('App', 'components/' + this.scriptAppName);
this.testTemplate('spec/App', 'components/' + this.scriptAppName);
};