derbyjs / derby-standalone

Client-side only version of Derby
15 stars 8 forks source link

allow template to also be a string #6

Open michael-brade opened 4 years ago

michael-brade commented 4 years ago

This makes it easier to load templates with XHR: no need to turn the string into a DOM when .innerHTML is used right away anyway.