Skip to content

Commit

Permalink
deliver compiled templates; makes debugging easier
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaefer committed Apr 28, 2011
1 parent 7b558a6 commit 3e67e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ require.extensions['._'] = function(module, filename) {
module.exports.register = function(server) {
server.assets.templates.push({
filename: filename,
content: 'template = _.template(' + JSON.stringify(content) + ');'
content: 'template = ' + module.exports + ';'
});
};
};

0 comments on commit 3e67e6d

Please sign in to comment.