-
Notifications
You must be signed in to change notification settings - Fork 446
Document Local Variable Scoping in Import Files #437
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
Comments
I'm afraid the documentation just can't house all the zillion little tips and tricks out there. If it does so the noise will sepulcher the actual reference info. So I'd say the stuff (like #21, #387 etc.) is more like a content for a book instead (not expelling of course a possibility of the docs site to host such a book ... after somebody writes it). |
Closing as part of #440. |
Local scoping in css is becoming quite popular. I was surprised to find this was not a built in feature of the language and having to dig around issues to get this bit of information seemed nonsensical when it could be added to the documentation quite easily. |
The need for the detailed
What language, Less? But the unique scope of a ruleset is its native feature (same native is the thing that the
Ready to make a PR? (The first question from me is: what section exactly could could land in? '&', 'import', 'namespaces', 'variables scope'? By now I don't think any of them fits). |
By this I meant some explicit syntax. Just by looking at If there was something like
I apologies if my previous comment came off as rude or offensive in some way. I meant no harm by it. I am of the opinion that it is best to document features that users might want to use. I don't think anyone ever complained about a language having too much documentation. I can understand that finding where to put it might be difficult but I don't think that warrants not documenting it in some official way. My motivation for opening this issue was to prevent future |
I agree that |
Next time just do: http://stackoverflow.com/search?q=%5Bless%5D+scope+import.
Ah, I see now what you mean by "native" . Never mind then. |
Took me a while to figure this out and it would help others if it was explicitly documented.
Prevents variables in foo.less from overwriting variables globally.
The text was updated successfully, but these errors were encountered: