Jasonette / JASONETTE-Android

📡 Native App over HTTP, on Android
https://www.jasonette.com
Other
1.6k stars 270 forks source link

$script action + Transition to st.js #182

Closed gliechtenstein closed 7 years ago

gliechtenstein commented 7 years ago

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:

  1. st.js : The core JSON template engine. No more browserified source. Soon to be open sourced as its own repo.
  2. 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)
gliechtenstein commented 7 years ago

Just added $script.include and $script.clear actions implementation