Comment on dōmo: Markup, style, and code in one languageparentComments−jedschmidtOP13yPut your domo code into a function that takes data and returns a DOM object. BAM, there's your template.Your JavaScript code can only have one global object, I don't see a reason to pass it in instead of finding it for you.
Comments
Put your domo code into a function that takes data and returns a DOM object. BAM, there's your template.
Your JavaScript code can only have one global object, I don't see a reason to pass it in instead of finding it for you.