Sha256: 5d970a4b14acbae3cddfcc2a311dd7f770d30c715dd7ecb5c98acad734ff135e
Contents?: true
Size: 448 Bytes
Versions: 3
Compression:
Stored size: 448 Bytes
Contents
(function (tree) { tree.Assignment = function (key, val) { this.key = key; this.value = val; }; tree.Assignment.prototype = { toCSS: function () { return this.key + '=' + (this.value.toCSS ? this.value.toCSS() : this.value); }, eval: function (env) { if (this.value.eval) { return new(tree.Assignment)(this.key, this.value.eval(env)); } return this; } }; })(require('../tree'));
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
less-2.3.3 | lib/less/js/lib/less/tree/assignment.js |
less-2.3.2 | lib/less/js/lib/less/tree/assignment.js |
less-2.3.1 | lib/less/js/lib/less/tree/assignment.js |