From 2869169b7b76e536089a386b9def1727412de308 Mon Sep 17 00:00:00 2001 From: yonatanmn Date: Sat, 4 Apr 2015 16:11:26 +0300 Subject: [PATCH] Update index.js --- main/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/main/index.js b/main/index.js index 0dfb66f..d28ad0d 100644 --- a/main/index.js +++ b/main/index.js @@ -11,6 +11,7 @@ util.inherits(MainGenerator, ScriptBase); MainGenerator.prototype.createAppFile = function createAppFile(scriptAppName) { this.reactRouter = this.env.options.reactRouter; + this.scriptAppName = scriptAppName; this.appTemplate('App', 'components/' + scriptAppName); this.testTemplate('spec/App', 'components/' + scriptAppName); };