This has been a huge operation. Previously the template parser used to be a huge single browserified JS bundle. I've been working to modularize this as well as open source the parser itself. Here's the result:
st.js : The core JSON template engine. No more browserified source. Soon to be open sourced as its own repo.
xhtml.js : XML/HTML parser => Used to be built into the template engine but extracted it out as a standalone. This still needs to be browserified since it uses the cheerio library (Can't use jQuery or zepto since those libraries require a browser context)
This has been a huge operation. Previously the template parser used to be a huge single browserified JS bundle. I've been working to modularize this as well as open source the parser itself. Here's the result:
st.js
: The core JSON template engine. No more browserified source. Soon to be open sourced as its own repo.xhtml.js
: XML/HTML parser => Used to be built into the template engine but extracted it out as a standalone. This still needs to be browserified since it uses thecheerio
library (Can't use jQuery or zepto since those libraries require a browser context)