'use strict' for compiled templates

This commit is contained in:
Patrick Steele-Idem 2015-05-27 11:05:24 -06:00
parent 0da6cd0be5
commit f54da679ba

View File

@ -491,6 +491,9 @@ TemplateBuilder.prototype = {
} else {
params = ['out'];
}
out.append('"use strict";\n');
out.append('function create(__helpers) {\n');
//Write out the static variables
this.writer.flush();