Permalink
Browse files

Fixed HTML Compiler

  • Loading branch information...
1 parent 9219ceb commit b752a93028807614a7a8edc14a37316d33cda8ed @antisocialmunky committed Jun 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/compilers.coffee
View
2 src/compilers.coffee
@@ -11,7 +11,7 @@ exports.coffee = (body, filename) ->
coffee.compile body, bare: true, header: false
exports.html = (body, filename) ->
- "module.exports = #{JSON.stringify}"
+ "module.exports = #{JSON.stringify body}"
require.extensions['.html'] = (module, filename) ->
body = fs.readFileSync filename, 'utf8'

0 comments on commit b752a93

Please sign in to comment.