jst.git
5 years agoAdd LICENSE and README.md, add license information to every source file
Nick Downing [Tue, 30 Oct 2018 11:42:54 +0000 (22:42 +1100)]
Add LICENSE and README.md, add license information to every source file

5 years agoMake the root directory and current directory available as _root and _dirname
Nick Downing [Tue, 30 Oct 2018 01:13:10 +0000 (12:13 +1100)]
Make the root directory and current directory available as _root and _dirname

5 years agoFix a bug affecting relative path resolution, change _req() to _require(), add abilit...
Nick Downing [Mon, 29 Oct 2018 10:12:57 +0000 (21:12 +1100)]
Fix a bug affecting relative path resolution, change _req() to _require(), add ability for js_template() caller to pass in arbitrary extra symbols and values

5 years agoImprove _req() resolution by writing a .js file and then using node.js require()...
Nick Downing [Sun, 21 Oct 2018 23:58:52 +0000 (10:58 +1100)]
Improve _req() resolution by writing a .js file and then using node.js require() to get the exact correct behaviour, reuse the .js file without rebuilding where appropriate, optimize '...' strings in HTML by escaping them in the compiler

5 years agoTurn off BuildCache diagnostics, and do our own diagnostic only if file present
Nick Downing [Sun, 21 Oct 2018 09:39:53 +0000 (20:39 +1100)]
Turn off BuildCache diagnostics, and do our own diagnostic only if file present

5 years agoUpdate to build_cache.git commit 02de2a2
Nick Downing [Sat, 20 Oct 2018 03:52:49 +0000 (14:52 +1100)]
Update to build_cache.git commit 02de2a2

5 years agoAdd _root parameter, add lightweight immediately awaited async wrapper function
Nick Downing [Mon, 15 Oct 2018 02:25:25 +0000 (13:25 +1100)]
Add _root parameter, add lightweight immediately awaited async wrapper function

5 years agoAdd build cache and path resolution scheme, fix packaging
Nick Downing [Sun, 14 Oct 2018 13:45:34 +0000 (00:45 +1100)]
Add build cache and path resolution scheme, fix packaging

5 years agoImplement script tag (outputs JavaScript body as a string; slightly minified)
Nick Downing [Sun, 14 Oct 2018 12:29:30 +0000 (23:29 +1100)]
Implement script tag (outputs JavaScript body as a string; slightly minified)

5 years agoImplement IDs with syntax like "div.my-class#my-id() {}"
Nick Downing [Sun, 14 Oct 2018 12:01:23 +0000 (23:01 +1100)]
Implement IDs with syntax like "div.my-class#my-id() {}"

5 years agoImplement classes with syntax like "div.my-class.my-class2() {}", improve handling...
Nick Downing [Sun, 14 Oct 2018 11:52:41 +0000 (22:52 +1100)]
Implement classes with syntax like "div.my-class.my-class2() {}", improve handling of reserved words in tag or attributes, allowing quotes if still not handled

5 years agoAdd HTML escaping
Nick Downing [Sun, 14 Oct 2018 07:05:44 +0000 (18:05 +1100)]
Add HTML escaping

5 years agoInitial commit of JS template modifications
Nick Downing [Sun, 14 Oct 2018 03:47:16 +0000 (14:47 +1100)]
Initial commit of JS template modifications

5 years agoAdd .gitignore
Nick Downing [Tue, 30 Oct 2018 07:34:21 +0000 (18:34 +1100)]
Add .gitignore

5 years agoPristine copy of just the acorn subdirectory from acorn.git commit 56fce39
Nick Downing [Tue, 30 Oct 2018 07:25:44 +0000 (18:25 +1100)]
Pristine copy of just the acorn subdirectory from acorn.git commit 56fce39