Throws exception if there are duplicated DOM templates
Merge pull request #3181 from locks/duplicate-dom-templates

Duplicate dom templates