Jeff Avallone
3a9b48f481
Updating lodash version
2016-07-27 11:14:08 -04:00
Jeff Avallone
966ab5f2d6
Fixing lint errors
2015-11-01 10:28:37 -05:00
Jeff Avallone
661e7fa6fb
Adding documentation to root.js
2015-04-23 19:37:24 -04:00
Jeff Avallone
e3eedb17af
Adding tests for Root nodes
2014-12-22 20:35:49 -05:00
Jeff Avallone
43eaf493e6
Removing some cruft in the grammar
2014-12-19 20:35:20 -05:00
Jeff Avallone
020feae951
Fixing flag display
2014-12-17 15:28:04 -05:00
Jeff Avallone
e362a54551
Converting methods into properties where possible/reasonable
2014-12-17 14:44:48 -05:00
Jeff Avallone
57ccd4b0c5
Refactoring to enhance the SyntaxNode extending
2014-12-17 11:53:04 -05:00
Jeff Avallone
8cc2f29aec
Adding regexp flag indications
2014-12-16 10:14:37 -05:00
Jeff Avallone
84d3fe797d
Removing unnecessary binds
2014-12-15 22:00:24 -05:00
Jeff Avallone
d22ab35b68
Converting uses of Snap.format to use template literals
2014-12-15 21:51:17 -05:00
Jeff Avallone
95af49e385
Adding horizontal connecting lines
2014-12-14 21:37:56 -05:00
Jeff Avallone
a30c16a940
Fixing root node positioning
2014-12-14 19:29:45 -05:00
Jeff Avallone
40ac83ab91
Revert "Simplifying positioning code for root nodes"
...
This reverts commit 46ab0662f5
.
2014-12-14 19:28:50 -05:00
Jeff Avallone
46ab0662f5
Simplifying positioning code for root nodes
2014-12-14 17:48:48 -05:00
Jeff Avallone
cb9785de91
Folding _position methods into render method promises
2014-12-13 12:55:03 -05:00
Jeff Avallone
773fd5c1a6
Refactoring how _position is called to be promise-based
...
The render method now returns a promise. Once this promise is resolved,
the _position method for that node will be called (if applicable). This
promise must be resolved only after all subordinate nodes have completed
their render phase (the promise returned by subordinate node's render
method has resolved). Node that do not have subordinates can return the
result of calling terminalRender, and proxied renders only need to
return the result of calling proxy.
With this change, it is no longer necessary to explicitly position
subordinate nodes. They will already be positioned once their render
promise is resolved.
2014-12-13 09:09:58 -05:00
Jeff Avallone
f81ba6535f
Adding transform method to Base node
2014-12-10 20:28:02 -05:00
Jeff Avallone
dbcdd583ed
Removing need for separate setContainer calls
2014-12-10 19:31:07 -05:00
Jeff Avallone
f0c25dfc41
Simplifying code related to passing rendering through to nested node
2014-12-10 19:01:57 -05:00
Jeff Avallone
b13ee3add2
Removing some connecting lines
...
This is in preparation for properly aligning nodes and simplifying the
connecting lines to reduce the number of path elements required.
2014-12-10 17:13:23 -05:00
Jeff Avallone
0b85f552c3
Setting class names of nodes automatically
2014-12-10 16:57:42 -05:00
Jeff Avallone
cd11b7e6e5
Centralizing some of the layout code
2014-12-09 19:02:31 -05:00
Jeff Avallone
502e4494d9
Some cleanup
2014-12-03 20:20:08 -05:00
Jeff Avallone
e7e97b0008
Adding lines before and after main Regexp body
2014-12-03 20:14:56 -05:00
Jeff Avallone
d1a058768e
Adding some styling to start and end anchors
2014-12-03 20:02:56 -05:00
Jeff Avallone
a88c4821b7
Refactoring to remove the container argument to render methods
...
A reference was being kept generally, so it was more useful to keep it
connected to the node
2014-12-03 18:59:59 -05:00
Jeff Avallone
b9dd80a142
Adding type values to node extensions
...
These will be useful later
2014-12-02 20:10:56 -05:00
Jeff Avallone
1ffcd785f8
Changing names of grammar elements.
...
Starting with an "_" will prevent collisions with extensions
2014-12-02 19:59:10 -05:00
Jeff Avallone
ed2c26c39e
Adding basic code to render stand and end indicators
2014-11-30 15:36:53 -05:00
Jeff Avallone
30d88810d0
Creating Base module and extracting placeholder rendering
2014-11-30 14:10:27 -05:00
Jeff Avallone
4decff56e7
Cleanup of initial SVG rendering
2014-11-30 13:14:31 -05:00
Jeff Avallone
b1a615daf0
Adding line that somehow got deleted
2014-11-30 10:51:22 -05:00
Jeff Avallone
301dce5873
Integrated snap.svg and starting to render content
2014-11-30 10:48:33 -05:00
Jeff Avallone
facb99e8bc
Beginning to add some functionality to the parser
2014-11-26 18:24:40 -05:00