Sha256: c302252d856056947472ca9480d83d4e1bbe8727875896f5647f07de9c0971ca

Contents?: true

Size: 516 Bytes

Versions: 100

Compression:

Stored size: 516 Bytes

Contents

/*!
 * Stylus - Comment
 * Copyright(c) 2010 LearnBoost <dev@learnboost.com>
 * MIT Licensed
 */

/**
 * Module dependencies.
 */

var Node = require('./node');

/**
 * Initialize a new `Comment` with the given `str`.
 *
 * @param {String} str
 * @param {Boolean} suppress
 * @api public
 */

var Comment = module.exports = function Comment(str, suppress){
  Node.call(this);
  this.str = str;
  this.suppress = suppress;
};

/**
 * Inherit from `Node.prototype`.
 */

Comment.prototype.__proto__ = Node.prototype;

Version data entries

100 entries across 86 versions & 2 rubygems

Version Path
ela-4.1.6 node_modules/poised/node_modules/nib/node_modules/stylus/lib/nodes/comment.js
ela-4.1.6 node_modules/codo/node_modules/stylus/lib/nodes/comment.js
ela-4.1.5 node_modules/poised/node_modules/nib/node_modules/stylus/lib/nodes/comment.js
ela-4.1.5 node_modules/codo/node_modules/stylus/lib/nodes/comment.js
ela-4.1.4 node_modules/codo/node_modules/stylus/lib/nodes/comment.js
ela-4.1.4 node_modules/poised/node_modules/nib/node_modules/stylus/lib/nodes/comment.js
ela-4.1.3 node_modules/codo/node_modules/stylus/lib/nodes/comment.js
ela-4.1.3 node_modules/poised/node_modules/nib/node_modules/stylus/lib/nodes/comment.js
ela-4.1.2 node_modules/poised/node_modules/nib/node_modules/stylus/lib/nodes/comment.js
ela-4.1.2 node_modules/codo/node_modules/stylus/lib/nodes/comment.js
ela-4.1.1 node_modules/codo/node_modules/stylus/lib/nodes/comment.js
ela-4.1.1 node_modules/poised/node_modules/nib/node_modules/stylus/lib/nodes/comment.js
ela-4.1.0 node_modules/poised/node_modules/nib/node_modules/stylus/lib/nodes/comment.js
ela-4.1.0 node_modules/codo/node_modules/stylus/lib/nodes/comment.js
ela-4.0.0 node_modules/codo/node_modules/stylus/lib/nodes/comment.js
ela-3.4.3 node_modules/codo/node_modules/stylus/lib/nodes/comment.js
ela-3.4.2 node_modules/codo/node_modules/stylus/lib/nodes/comment.js
ela-3.4.0 node_modules/codo/node_modules/stylus/lib/nodes/comment.js
ela-3.3.1 node_modules/codo/node_modules/stylus/lib/nodes/comment.js
ela-3.3.0 node_modules/codo/node_modules/stylus/lib/nodes/comment.js