Allow HTML templates in the HTML files again.

This commit is contained in:
ccd0 2015-03-28 04:36:21 -07:00
parent 2e48834dd5
commit cfe647b1f2

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, '')})"
html grunt.template.process(grunt.file.read("src/General/html/#{filename}.html").replace(/^ +/gm, '').replace(/\r?\n/g, ''), data: grunt.config('pkg'))
checkHTML = (text, context) ->
while text