Sha256: 8addbbaa9ffc4e6d71d9ecff2980338d31db591e67dc983cca0508a6b8d89f45
Contents?: true
Size: 561 Bytes
Versions: 2
Compression:
Stored size: 561 Bytes
Contents
(function (tree) { tree.Keyword = function (value) { this.value = value; }; tree.Keyword.prototype = { type: "Keyword", eval: function () { return this; }, genCSS: function (env, output) { output.add(this.value); }, toCSS: tree.toCSS, compare: function (other) { if (other instanceof tree.Keyword) { return other.value === this.value ? 0 : 1; } else { return -1; } } }; tree.True = new(tree.Keyword)('true'); tree.False = new(tree.Keyword)('false'); })(require('../tree'));
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
less-2.5.1 | lib/less/js/lib/less/tree/keyword.js |
less-2.5.0 | lib/less/js/lib/less/tree/keyword.js |