-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for responsive line height + bonuses #20
Conversation
* @param {object} rule CSS rule to parse | ||
*/ | ||
var fetchParams = function(rule, declName){ | ||
var params = R.clone(defaultParams[declName]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the only place Ramda is used? Pretty bulky dep just for a clone func, especially when we don't actually need a deep clone here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm... maybe replace with this then: https://github.com/pvorb/node-clone?
Made a couple of line comments, just small things. Otherwise looks good! |
made some changes according to your comments, for your consideration :) |
Looks good! |
Added support for responsive
line-height
, and refactored the code a bit to be more functional. Also, since it was so easy to do, I added responsiveletter-spacing
, just for the giggles :)