Skip to content

Commit

Permalink
add hint.
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Aug 15, 2024
1 parent aeb8e2c commit 29c9638
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ window.Typerefinery.Page.Tms = Typerefinery.Page.Tms || {};
</div>
`;

//TODO: add Handlebars to namesapce signature
const handlebarTemplate = Handlebars.compile(htmlTemplate);
// merge all the objects.
$component.innerHTML = handlebarTemplate({ ...defaultData, ...defaultConfigData, ...data });
Expand Down

0 comments on commit 29c9638

Please sign in to comment.