jouni-kantola / ruin

A CSS post-processor that saves bytes over the wire by shortening names of CSS classes.
MIT License
2 stars 0 forks source link

Add first draft of module that creates short css class names #8

Closed davidxcheng closed 8 years ago

davidxcheng commented 8 years ago

This module returns 212 992 valid css class names that are 3 chars long.

Note: This is obviously work in progress. Need to add all versions of valid 1 and 2 char class names + unit tests if this turns out to be a good approach.

davidxcheng commented 8 years ago

@jouni-kantola I've started writing tests but we need to add the test modules to the dev-dependencies in package.config, you fix?