Last active
June 30, 2017 17:10
-
-
Save thulioph/5dfe3f664790a935be95f1cdb92d45df to your computer and use it in GitHub Desktop.
Facebook Authentication
This file contains hidden or 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
| const Handlebars = window.Handlebars; | |
| const BuildTemplate = (templateId, templateData, element) => { | |
| let template = Handlebars.compile(templateId); | |
| element.innerHTML = template(templateData); | |
| }; | |
| export default BuildTemplate; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment