mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 09:42:21 -04:00
Fix linter errors
This commit is contained in:
parent
e2df5739f0
commit
be3d703692
2 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue