lib/less/js/lib/less/tree/selector.js in less-2.0.8 vs lib/less/js/lib/less/tree/selector.js in less-2.0.9
- old
+ new
@@ -20,9 +20,14 @@
}
}
}
return true;
};
+tree.Selector.prototype.eval = function (env) {
+ return new(tree.Selector)(this.elements.map(function (e) {
+ return e.eval(env);
+ }));
+};
tree.Selector.prototype.toCSS = function (env) {
if (this._css) { return this._css }
return this._css = this.elements.map(function (e) {
if (typeof(e) === 'string') {