Signed-off-by: Simon Bailey <simon@newtriks.com>
This commit is contained in:
Simon Bailey
2014-01-08 15:27:24 +00:00
parent 9b23ccb65d
commit b59380a08d
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ var Generator = module.exports = function Generator() {
this.appname = path.basename(process.cwd());
this.appname = this._.slugify(this._.humanize(this.appname));
this.scriptAppName = this._.capitalize(this.appname) + generalUtils.appName(this);
this.scriptAppName = this._.camelize(this._.capitalize(this.appname)) + generalUtils.appName(this);
this.classedName = this._.capitalize(this.name);
if (typeof this.env.options.appPath === 'undefined') {
@@ -56,4 +56,4 @@ Generator.prototype.htmlTemplate = function (src, dest) {
Generator.prototype.generateSourceAndTest = function (appTemplate, testTemplate, targetDirectory) {
this.appTemplate(appTemplate, path.join('scripts', targetDirectory, this._.capitalize(this.name)));
this.testTemplate(testTemplate, path.join(targetDirectory, this._.capitalize(this.name)));
};
};