Jeff Avallone
0fdd210741
Optimizing spaceHorizontall and spaceVertically methods
...
Each method was transforming each item twice, and I found that Snap
appears to generate at least one timer per transform. Reducing it to one
transform per item.
2015-04-14 21:46:14 -04:00
Jeff Avallone
7de958dc25
Adding documentation to util.js
2015-04-12 17:03:13 -04:00
Jeff Avallone
06e66c0f24
Creating helper methods for the setTimeout uses
...
Abstracting out some of the setTimeout patterns that have popped up in
the code to make the intention clearer.
2015-03-14 17:27:59 -04: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
8a9a129856
Adding tests for CharsetRange nodes
2014-12-20 10:18:00 -05:00
Jeff Avallone
a50ba68a21
Moving spaceHorizontally and spaceVertically to util.js
2014-12-19 12:11:44 -05:00
Jeff Avallone
870b2e6ed4
Moving normalizeBBox to util.js
2014-12-19 12:06:21 -05:00
Jeff Avallone
78917d44e6
Extracting custom event creation into a util module
2014-12-19 10:24:45 -05:00