Permalink
Browse files

Added to template property instead of scripts for templates.

  • Loading branch information...
1 parent 8002879 commit f1a35944725c6d6743daf31b72f74d8ca6370968 @airportyh airportyh committed Feb 4, 2014
Showing with 1 addition and 2 deletions.
  1. +1 −2 bin/component-create
@@ -115,8 +115,7 @@ program.prompt(prompt, function(obj){
// html
if (bool(obj.html)) {
- conf.scripts = conf.scripts || [];
- conf.scripts.push('template.js');
+ conf.templates = ['template.html'];
write(join(dir, 'template.html'), '');
}

0 comments on commit f1a3594

Please sign in to comment.