You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Less.js 1.3.3 already has this feature, unit test is inside scope.less test file starting at line 53. I also tested fruits example from this issue and it compiles into:
#test {
width:50px;
}
I tried also to import mixin into a namespace and that case works too:
The only possible problem with this feature is that it is not really declarative, e.g. unlocking must be done before using the imported mixin. This will throw syntax error:
Allow a mixin.Definition inside a mixin.Definition:
calling .apples() effectively "unlocks" the inner mixins.
This is great for encapsulating mixins/variables for libraries.
The text was updated successfully, but these errors were encountered: