Jeff Avallone
1b22d0b717
Cleaning up some of the arrow function syntax
...
Don't need to use `return` as much as I had been
2016-07-31 11:45:48 -04:00
Jeff Avallone
6a0999f644
Refactoring tracking code
...
This is to support the new Google Analytics setup
2016-05-23 21:10:50 -04:00
Jeff Avallone
f68a410ac1
Embedding icons into markup
2016-03-10 17:45:14 -05:00
Christophe Coevoet
4875dd17c4
Fix exposing the error
...
Using a promise for the setTimeout call is broken in this case, as the error would again be thrown in a promise operation, and so not exposed
2015-09-02 12:41:21 +02:00
Jeff Avallone
6cf4e3fe9b
Tweaking normalizeBBox
...
Using defaults instead of extend seems to more clearly illustrate the
intent.
2015-04-16 17:10:30 -04:00
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