Sha256: c9f151cbba499847944d62da52d24f28e4318ee67bce67cd031ec51b917149ea

Contents?: true

Size: 531 Bytes

Versions: 5

Compression:

Stored size: 531 Bytes

Contents

/*!
 * Jade - nodes - Mixin
 * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca>
 * MIT Licensed
 */

/**
 * Module dependencies.
 */

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

/**
 * Initialize a new `Mixin` with `name` and `block`.
 *
 * @param {String} name
 * @param {String} args
 * @param {Block} block
 * @api public
 */

var Mixin = module.exports = function Mixin(name, args, block){
  this.name = name;
  this.args = args;
  this.block = block;
};

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

Mixin.prototype.__proto__ = Node.prototype;

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stylus-source-0.27.1 vendor/node_modules/mocha/node_modules/jade/lib/nodes/mixin.js
stylus-source-0.27.0 vendor/node_modules/mocha/node_modules/jade/lib/nodes/mixin.js
stylus-source-0.26.1 vendor/node_modules/mocha/node_modules/jade/lib/nodes/mixin.js
stylus-source-0.26.0 vendor/node_modules/mocha/node_modules/jade/lib/nodes/mixin.js
stylus-source-0.25.0 vendor/node_modules/mocha/node_modules/jade/lib/nodes/mixin.js