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
|
865a0ad7cc
|
Improved rendering of JavaScript that has parse errors
|
2012-03-02 12:09:06 +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
|
470b622bb1
|
Corrected dependency skinny/fat handling
|
2012-03-01 19:03:04 +00:00 |
|
Jeremy Ruston
|
46f019ea83
|
Refactored where we do macro parameter string parsing
|
2012-02-22 23:27:38 +00:00 |
|
Jeremy Ruston
|
bf6f5e0254
|
Refactored macro interface
Now 'this' points to the Renderer.MacroNode
|
2012-02-21 21:57:30 +00:00 |
|
Jeremy Ruston
|
bc385abe23
|
Merged adjacent if() clauses
|
2012-02-20 21:19:12 +00:00 |
|
Jeremy Ruston
|
aaedf28904
|
Minor re-enhancements
|
2012-02-20 21:00:12 +00:00 |
|
Jeremy Ruston
|
5ca478d106
|
Get rid of the Renderer() wrapper and use the MacroNode directly
|
2012-02-20 20:52:54 +00:00 |
|
Jeremy Ruston
|
53f652bf2a
|
Refactored evaluation of macro dependencies
Now the dependencies are evaluated in the constructor for the
Renderer.MacroNode
|
2012-02-20 19:27:37 +00:00 |
|
Jeremy Ruston
|
36f61b4321
|
Further simplification of the Renderer() class
|
2012-02-20 18:04:12 +00:00 |
|
Jeremy Ruston
|
707a08540c
|
Ceding to JSHint's suggestions
|
2012-02-20 15:42:21 +00:00 |
|
Jeremy Ruston
|
4d6f8ab8eb
|
Introduced new base class for Renderer nodes
Making the code a bit simpler
|
2012-02-20 11:06:17 +00:00 |
|
Jeremy Ruston
|
a0524c2144
|
Added protection against wikitext recursion
Now attempts to view a tiddler recursively fail gracefully
|
2012-02-19 17:20:16 +00:00 |
|
Jeremy Ruston
|
94a84d8bc6
|
More JSHint hints
|
2012-02-17 17:31:57 +00:00 |
|
Jeremy Ruston
|
103a9a4d7f
|
Introduced new Dependency() class to encapsulate dependency handling logic
Note that the format is now slightly different; see js/Dependencies.js
for details
|
2012-02-17 14:11:25 +00:00 |
|
Jeremy Ruston
|
221cc80c65
|
Updated renderer to handle refreshing
Now we can refresh renderers that aren't in a DOM tree
|
2012-02-17 12:34:56 +00:00 |
|
Jeremy Ruston
|
fef0b9e4da
|
Introduce new Renderer class
Another massive refactoring, with a bit more polishing to come
|
2012-02-16 20:36:43 +00:00 |
|