-
Notifications
You must be signed in to change notification settings - Fork 844
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a name attribute for easy identification
Since there is not a constructor and thus a constructor.name for detection this provides a name that can be used for the same purpose. This is useful for application servers that allow the template engine to be passed in. I am working on PRs for other template engines for this as well. It should also be noted that Handlebars, lodash, and underscore are all detectable through this method already.
- Loading branch information
1 parent
49264e0
commit 706987b
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters