Commit Graph

80 Commits

Author SHA1 Message Date
Jeff Avallone
94c674e879 Finishing Repeat node specs 2014-12-21 10:27:40 -05:00
Jeff Avallone
82ca4f40f7 Adding initial tests for Repeat nodes 2014-12-20 13:03:57 -05:00
Jeff Avallone
55657a792b Adding check for out of order numbers 2014-12-20 10:53:01 -05:00
Jeff Avallone
ccdb29224a Rejecting promise when parsing fails 2014-12-20 10:47:41 -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
8a9a129856 Adding tests for CharsetRange nodes 2014-12-20 10:18:00 -05:00
Jeff Avallone
d27831a265 Adding tests for CharsetEscape nodes 2014-12-19 21:56:56 -05:00
Jeff Avallone
24e21834f6 Adding tests for Escape nodes 2014-12-19 21:49:11 -05:00
Jeff Avallone
32a28ede90 Adding tests for Literal nodes 2014-12-19 21:35:03 -05:00
Jeff Avallone
94ff093824 Adding specs for AnyCharacter node 2014-12-19 21:05:44 -05:00
Jeff Avallone
8c8fbf648d Adding tests for RepeatSpec nodes 2014-12-19 21:00:38 -05:00
Jeff Avallone
8669d0c4bc Adding specs for the basic repetitions 2014-12-19 20:55:01 -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
abb5838113 Updating how async specs are called 2014-12-19 11:51:34 -05:00
Jeff Avallone
be145e3fac Adding rest of tests for Node class 2014-12-19 11:48:09 -05:00
Jeff Avallone
91581afe2c Adding more Node tests 2014-12-19 11:00:47 -05:00
Jeff Avallone
78917d44e6 Extracting custom event creation into a util module 2014-12-19 10:24:45 -05:00
Jeff Avallone
0d6e272216 Adding some tests for the Node class 2014-12-19 10:07:56 -05:00
Jeff Avallone
d976aba381 Adding tests for the top-level parser class 2014-12-18 19:10:53 -05:00
Jeff Avallone
e43033d789 Updating Regexper class specs 2014-12-18 18:29:40 -05:00
Jeff Avallone
80ec29cd6b Refactoring parser code to remove global state
This allows canceling an in-progress render and moves some of the
rendering code to a more appropriate location.
2014-12-18 11:13:15 -05:00
Jeff Avallone
7de0a6490a Adding code to track visualization lifecycle events 2014-12-17 19:54:58 -05:00
Jeff Avallone
c64e48946e Adding support for canceling a parse/render 2014-12-17 19:24:33 -05:00
Jeff Avallone
b934423d11 Finishing tests for Regexper module 2014-12-16 19:00:27 -05:00
Jeff Avallone
5537928a80 Starting work on spec files 2014-12-16 16:08:36 -05:00
Jeff Avallone
facb99e8bc Beginning to add some functionality to the parser 2014-11-26 18:24:40 -05:00
Jeff Avallone
c6f2271867 Adding a stubbed out test
Removing old demo file and spec
2014-11-25 20:05:29 -05:00
Jeff Avallone
84f35cf647 Switching to karma instead of hacked up jasmine setup 2014-11-24 21:44:50 -05:00
Jeff Avallone
9d7730cc3c Adding jasmine test integration 2014-11-23 18:55:32 -05:00