Don't trim whitespace from end of lines.

This commit is contained in:
ccd0 2015-03-28 04:06:40 -07:00
parent 7a7e90037b
commit bb4bc115b9

View File

@ -5,7 +5,7 @@ module.exports = (grunt) ->
"`#{JSON.stringify(data).replace(/`/g, '\\`')}`"
importHTML = (filename) ->
"(innerHTML: #{json grunt.file.read("src/General/html/#{filename}.html").replace(/^ +| +$</gm, '').replace(/\r?\n/g, '')})"
"(innerHTML: #{json grunt.file.read("src/General/html/#{filename}.html").replace(/^ +/gm, '').replace(/\r?\n/g, '')})"
html = (template) ->
parts = template.split /([\$&@]){([^}`]*)}/