Changelog
2011.11.23, Version 0.2.3
Added --engine
, -e
option and new sort-group
engine. Moved all
old engine-specific code into engines/fullgen.js and made it default
Sort-group engine - much faster and simplier compilation algorithm. (17 minutes on fullgen for a large template, and 7 seconds on sort-group)
Ported code to new ometajs module
Optimized code size for client-side usage (removing hanging braces, shorter merge function names, localStart/localEnd => "")
Documented most of the source, released docco gh-pages
Much better apply optimizations
xjst.compile() returns function (see readme)
--no-opt - just compile template and locals
-u, --uglify - uglify js output
--merge, -m - add merge info for client-side template merging