canjs / can-ejs

The EJS templates on their own
https://canjs.com/doc/can-ejs.html
MIT License
4 stars 3 forks source link

Update to add renderAsString option for ejs templates #67

Closed WooFerPPK closed 5 years ago

WooFerPPK commented 5 years ago

Worked with @justinbmeyer to come up with a solution to the [Object DocumentFragment] string being displayed on some instances where EJS was being used.

bmomberger-bitovi commented 5 years ago

@WooFerPPK I tried reaching out to you on the community Slack, just to see if the additions and tests that I did were going to work for your use case. if you wouldn't mind giving this a quick review, I can get it out in new versions ASAP

bmomberger-bitovi commented 5 years ago

(note that the tests for can-ejs require a new version of can-legacy-view-helpers to be released, in order for the tests to pass)