Sha256: 4fa6fe3957f42ea5441aaddb1ff599f1efc6593d9fa089d1bccc270b2f9fd7b7
Contents?: true
Size: 439 Bytes
Versions: 5
Compression:
Stored size: 439 Bytes
Contents
var Node = require("./node"); var Keyword = function (value) { this.value = value; }; Keyword.prototype = new Node(); Keyword.prototype.type = "Keyword"; Keyword.prototype.genCSS = function (context, output) { if (this.value === '%') { throw { type: "Syntax", message: "Invalid % without number" }; } output.add(this.value); }; Keyword.True = new Keyword('true'); Keyword.False = new Keyword('false'); module.exports = Keyword;
Version data entries
5 entries across 5 versions & 2 rubygems