Please sign in to comment.
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...