Skip to content
This repository has been archived by the owner on Mar 27, 2019. It is now read-only.

Commit

Permalink
Added to template property instead of scripts for templates.
Browse files Browse the repository at this point in the history
  • Loading branch information
airportyh committed Feb 4, 2014
1 parent 8002879 commit f1a3594
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/component-create
Expand Up @@ -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'), '');
}

Expand Down

0 comments on commit f1a3594

Please sign in to comment.