Runtime.js functions not exposed for precompiled templates
Closed this issue · 4 comments
I'm trying to render precompiled Jade templates, but am getting the same error as in #14, Uncaught ReferenceError: exports is not defined
.
If I'm simply missing something, and precompiled template rendering is indeed working, could someone provide a simple working example for rendering a precompiled template to a DOM element? Perhaps this would be a nice addition to the README as well.
Thanks for the report, @teddybradford. I'm going to mark this as closed as it is a duplicate of #14, but have posted an issue on the jade repository because I think that it may be a bug in their runtime file.
Thanks again, and feel free to let me know if you have any ideas in #14. Also, please feel free to re-open this if you feel that it is a separate issue and I am missing some detail.
Thank you for looking into this, @monokrome. I appreciate it!
@teddybradford Thanks to @ForbesLindesay, figured out that we were using the wrong file. Updating today.
👍