Fix linter errors

This commit is contained in:
Connor Christie 2018-01-01 10:55:39 -06:00
parent e2df5739f0
commit be3d703692
2 changed files with 7 additions and 7 deletions

View file

@ -85,7 +85,7 @@ var Module = Class.extend({
var div = document.createElement("div");
var template = this.getTemplate();
var templateData = this.getTemplateData();
// Check to see if we need to render a template string or a file.
if (/^.*((\.html)|(\.njk))$/.test(template)) {
// the template is a filename