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:
Activity
SomMeri commentedon Mar 30, 2013
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:
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:
If the last point was intentional, then this can probably be closed.