Jeff Avallone
6a1a679fc9
Updating lodash version
2016-03-10 17:45:20 -05:00
Jeff Avallone
7ca4b95cd7
Adding documentation to charset.js
2015-04-21 20:24:49 -04:00
Jeff Avallone
2777da518e
Replacing an array join with a JS template
2015-04-19 16:45:06 -04:00
Jeff Avallone
5917d2b035
Updating getBBox and anchor code to improve performance
...
This change will reduce the number of calls to this.container.getBBox
when calculating the bounding box of a node
2015-04-16 17:13:12 -04:00
Jeff Avallone
0093db8e20
Replacing Q promises with ES6 promises
2015-03-14 17:11:14 -04:00
Jeff Avallone
f842b424cc
Adding warnings for non-standard escape sequence usage
2014-12-22 16:57:30 -05:00
Jeff Avallone
33bbd11af6
Simplifying how parts of a charset are checked for uniqueness
2014-12-22 11:31:20 -05:00
Jeff Avallone
961d4812e9
Adding tests for Charset nodes
2014-12-22 10:57:16 -05:00
Jeff Avallone
e0825b7850
Fixing bug in charset code
2014-12-21 18:02:28 -05:00
Jeff Avallone
6c5b36f334
Changing util.js to export an object
...
This allows the methods to be spied on in tests
2014-12-20 10:25:32 -05:00
Jeff Avallone
a50ba68a21
Moving spaceHorizontally and spaceVertically to util.js
2014-12-19 12:11:44 -05:00
Jeff Avallone
17a95392a8
Refactoring property definition code
2014-12-17 16:04:55 -05:00
Jeff Avallone
a0f145ab3d
Removing unnecessary atype attributes
2014-12-17 15:48:06 -05:00
Jeff Avallone
f93388dec0
Converting getAnchor into a property
2014-12-17 15:24:27 -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
84d3fe797d
Removing unnecessary binds
2014-12-15 22:00:24 -05:00
Jeff Avallone
deb95ef123
Removing duplicate elements from charset
2014-12-15 10:19:18 -05:00
Jeff Avallone
c2d8473425
Adding node-type-specific anchor code
2014-12-14 19:13:08 -05:00
Jeff Avallone
407167a4ae
Folding labeled box positioning into rendering
2014-12-13 13:26:43 -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
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
ff7525a6e4
De-duplicating code to render subexp and charset containers
2014-12-10 18:27:07 -05:00
Jeff Avallone
0b85f552c3
Setting class names of nodes automatically
2014-12-10 16:57:42 -05:00
Jeff Avallone
975780609d
Fixing label positioning in charset nodes
2014-12-09 21:00:36 -05:00
Jeff Avallone
7082a670d6
Extracting code to layout elements vertically
2014-12-09 20:08:34 -05:00
Jeff Avallone
0f97afd880
Fixing font size of charset label
2014-12-09 19:03:50 -05:00
Jeff Avallone
cd11b7e6e5
Centralizing some of the layout code
2014-12-09 19:02:31 -05:00
Jeff Avallone
0cb090bc10
Cleanup of charset rendering code
2014-12-09 17:48:44 -05:00
Jeff Avallone
fadfaee440
Adding code to render charsets
2014-12-07 17:38:24 -05:00
Jeff Avallone
7d84669536
First cut of rendering match elements
...
This is currently broken, but a starting point for further work.
2014-12-02 21:02:48 -05:00