Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

Option _dynamicBase for an additional option type: 'function' #23

Merged
merged 2 commits into from Oct 15, 2015
Merged

Option _dynamicBase for an additional option type: 'function' #23

merged 2 commits into from Oct 15, 2015

Conversation

feeela
Copy link
Contributor

@feeela feeela commented Jun 20, 2014

I've added another option type to enable the user to define the _base variable in even greater detail, as it was possible through the breakpoint map. Our production media queries are more than a simple min-width comparison and I like the idea to have them only in the CSS file.

Now one can compute the _base through a user defined function on each execution. I know that this might slow down the script when used without caution (e.g. when using getComputedStyle() as in the given example). But on the other hand it was a useful edit to me and might also help others.

@lifeiscontent
Copy link

@daneden you should get back to this guy

daneden added a commit that referenced this pull request Oct 15, 2015
Option _dynamicBase for an additional option type: 'function'
@daneden daneden merged commit 0212ff7 into daneden:master Oct 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants