Skip to content

Commit

Permalink
[FIX] XMLTemplateAnalyzer: Ignore properties with data binding
Browse files Browse the repository at this point in the history
Fixes: #108
  • Loading branch information
matz3 committed Jan 3, 2019
1 parent c59b5b1 commit 0d5cf50
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/lbt/analyzer/XMLTemplateAnalyzer.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ class XMLTemplateAnalyzer {
return;
}

// don't add properties with data binding syntax
if (moduleName.includes("{") || moduleName.includes("}")) {
return;
}

this.info.addDependency(moduleName, this.conditional);
}

Expand Down

0 comments on commit 0d5cf50

Please sign in to comment.