Simplifies unit optimizations code.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Tue, 23 Jun 2015 05:42:53 +0000 (06:42 +0100)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Tue, 23 Jun 2015 05:43:26 +0000 (06:43 +0100)
commit566b52eab9e17d075b38b5cd6f19ff7ae849a327
treeef481372946995c5b1ff14b889e84441d7b3f100
parent0ed903f04daf26ef6633342010be24b72436e62c
Simplifies unit optimizations code.

It follows a much simpler functional style, which is also easier to
grasp.
lib/clean.js
lib/selectors/simple.js
test/test-helper.js