tj / styl

Flexible and fast modular CSS preprocessor built on top of Rework
530 stars 21 forks source link

expose rework's `.use(fn)` #9

Closed matthewmueller closed 11 years ago

matthewmueller commented 11 years ago

This way styl can be used as a base to be extended. Ie.

styl(str).use(variant()).toString()
matthewmueller commented 11 years ago

oh weird, it looks like it's already exposed. is there some incompatibility? i'm prob doing it wrong, haha.

tj commented 11 years ago

hmmm should would but I think it's untested haha, ill add a test

tj commented 11 years ago

seems ok

matthewmueller commented 11 years ago

Ah yah, tried it again in isolation and it worked great. False alarm