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

Adding default variables #313

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@Warry

Warry commented Jul 12, 2011

Hi,

I'm building a component library based on Less, and basically I need to define some default value for some components, in order to keep them independent.

So I've made this modification: by adding "!default" to variable definitions to skip the value if the variable is already defined.

'Hope it could be usefull.

Warry

Edit:
I've to report the modifications in sources, then write tests... sorry.

@Warry Warry closed this Jul 12, 2011

@rowanmanning

This comment has been minimized.

Show comment
Hide comment
@rowanmanning

rowanmanning Jun 16, 2012

I know this pull request is ridiculously old now, but would like to know why it was closed. It seems like a great feature!

rowanmanning commented Jun 16, 2012

I know this pull request is ridiculously old now, but would like to know why it was closed. It seems like a great feature!

javisantana pushed a commit to CartoDB/carto that referenced this pull request Dec 4, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment