1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-08 13:04:21 +00:00
Commit Graph

14 Commits

Author SHA1 Message Date
Jeremy Ruston
86e119dbf2 Replace tabs in JavaScript with spaces
Browsers will render tabs, but most don't let us override their default
of 8 character tab stops
2012-03-04 12:01:44 +00:00
Jeremy Ruston
4a73317193 Refactoring renderer "tree" array to "nodes" 2012-03-03 18:39:13 +00:00
Jeremy Ruston
7f136dd898 Get rid of the old WikiTextParseTree class
And replace it with a new root Renderer() class
2012-03-03 18:33:16 +00:00
Jeremy Ruston
2ce77b3839 Comment update 2012-03-03 18:06:33 +00:00
Jeremy Ruston
12c6239bf5 Keeping JSHint happy 2012-03-02 18:00:40 +00:00
Jeremy Ruston
5eab89d1f0 Improved styles for JavaScript comments
Because we all want skeuomorphic post-it note comments on our code
2012-03-02 15:54:05 +00:00
Jeremy Ruston
d3ca939863 Improved rendering of JavaScript comments 2012-03-02 14:21:02 +00:00
Jeremy Ruston
865a0ad7cc Improved rendering of JavaScript that has parse errors 2012-03-02 12:09:06 +00:00
Jeremy Ruston
488562bd95 Restored the JSONParser as a separate entity
It doesn't really have much in common with the JavaScript parser
2012-03-02 11:31:39 +00:00
Jeremy Ruston
8adfcbdc69 Added syntax highlighting for JavaScript tiddlers 2012-03-02 00:48:05 +00:00
Jeremy Ruston
8552f2f894 Use the new esprima parser to display javascript modules as parse trees 2012-03-01 23:59:46 +00:00
Jeremy Ruston
f6338d9109 Replace pegs parser with Esprima
It preserves comments and text positions, enabling us to do syntax
highlighting. Hopefully.
2012-03-01 22:47:31 +00:00
Jeremy Ruston
b1b1b84b3e Cleaning up the JavaScript parser 2012-01-05 10:00:21 +00:00
Jeremy Ruston
3ff1d9a76c Cleaned up JavaScript processing
I'm slowly trying to make the JavaScript processing and the WikiText
processing use the same conventions
2012-01-04 18:31:19 +00:00