Skip to content

Commit

Permalink
Update to fit new buildy template task
Browse files Browse the repository at this point in the history
  • Loading branch information
mosen committed Jan 9, 2012
1 parent b373c94 commit 9b97413
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/queues.js
Expand Up @@ -26,7 +26,7 @@ exports._createSourceQueue = function(component) {
.task('concat')
.task('template', {
template_file: path.resolve(__dirname + '/../templates/moduletemplate.handlebars'), // use build spec
model: {
template_vars: {
yuivar : 'Y',
component : component_name,
version : component_version,
Expand Down
2 changes: 1 addition & 1 deletion templates/moduletemplate.handlebars
@@ -1,5 +1,5 @@
YUI.add('{{{component}}}', function({{{yuivar}}}) {

{{{code}}}
{{{content}}}

}, '{{{version}}}' {{{details}}});
2 changes: 1 addition & 1 deletion templates/rolluptemplate.handlebars
@@ -1,4 +1,4 @@
{{{code}}}
{{{content}}}
{{{#component}}}
YUI.add('{{{component}}}', function({{{yuivar}}}){}, '{{{version}}}' {{{details}}});
{{{/component}}}

0 comments on commit 9b97413

Please sign in to comment.