mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
Fix double toCSS calls in unusual situations causing an exception. Fixes #1830
This commit is contained in:
@@ -18,6 +18,9 @@
|
||||
},
|
||||
|
||||
visitMixinDefinition: function (mixinNode, visitArgs) {
|
||||
// mixin definitions do not get eval'd - this means they keep state
|
||||
// so we have to clear that state here so it isn't used if toCSS is called twice
|
||||
mixinNode.frames = [];
|
||||
return [];
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user