Skip to content
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 from
Closed

Adding default variables #313

wants to merge 1 commit into from

Conversation

@Warry
Copy link

@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
Copy link

@rowanmanning 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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.