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.
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.
No comments yet.