Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed HTML Compiler

  • Loading branch information...
commit b752a93028807614a7a8edc14a37316d33cda8ed 1 parent 9219ceb
@antisocialmunky authored
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'
Please sign in to comment.
Something went wrong with that request. Please try again.