Sha256: d5f06e3f8a2bd0659d87f9c78e6f295a04b230e6ece680322af5ee8113632de7
Contents?: true
Size: 1002 Bytes
Versions: 2
Compression:
Stored size: 1002 Bytes
Contents
var Node = require("./node"); var Anonymous = function (value, index, currentFileInfo, mapLines, rulesetLike, visibilityInfo) { this.value = value; this.index = index; this.mapLines = mapLines; this.currentFileInfo = currentFileInfo; this.rulesetLike = (typeof rulesetLike === 'undefined') ? false : rulesetLike; this.copyVisibilityInfo(visibilityInfo); }; Anonymous.prototype = new Node(); Anonymous.prototype.type = "Anonymous"; Anonymous.prototype.eval = function () { return new Anonymous(this.value, this.index, this.currentFileInfo, this.mapLines, this.rulesetLike, this.visibilityInfo()); }; Anonymous.prototype.compare = function (other) { return other.toCSS && this.toCSS() === other.toCSS() ? 0 : undefined; }; Anonymous.prototype.isRulesetLike = function() { return this.rulesetLike; }; Anonymous.prototype.genCSS = function (context, output) { output.add(this.value, this.currentFileInfo, this.index, this.mapLines); }; module.exports = Anonymous;
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
less-execjs-2.6.0.4 | lib/less/js/less/lib/less/tree/anonymous.js |
less-execjs-2.6.0.3 | lib/less/js/less/lib/less/tree/anonymous.js |