Sha256: 17e96d39002f261b3e485a13c331db5027b9bc8fe4927ff257bef3a320ad3bfe

Contents?: true

Size: 580 Bytes

Versions: 38

Compression:

Stored size: 580 Bytes

Contents

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

/**
 * Module dependencies.
 */

var Attrs = require('./attrs');

/**
 * 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, call){
  this.name = name;
  this.args = args;
  this.block = block;
  this.attrs = [];
  this.call = call;
};

/**
 * Inherit from `Attrs`.
 */

Mixin.prototype.__proto__ = Attrs.prototype;

Version data entries

38 entries across 38 versions & 2 rubygems

Version Path
stylus-source-0.49.3 vendor/node_modules/mocha/node_modules/jade/lib/nodes/mixin.js
snowball-0.1.22 node_modules/jade/lib/nodes/mixin.js
stylus-source-0.42.2 vendor/node_modules/mocha/node_modules/jade/lib/nodes/mixin.js
stylus-source-0.42.1 vendor/node_modules/mocha/node_modules/jade/lib/nodes/mixin.js
stylus-source-0.42.0 vendor/node_modules/mocha/node_modules/jade/lib/nodes/mixin.js
stylus-source-0.41.3 vendor/node_modules/mocha/node_modules/jade/lib/nodes/mixin.js
stylus-source-0.41.2 vendor/node_modules/mocha/node_modules/jade/lib/nodes/mixin.js
stylus-source-0.41.1 vendor/node_modules/mocha/node_modules/jade/lib/nodes/mixin.js
stylus-source-0.41.0 vendor/node_modules/mocha/node_modules/jade/lib/nodes/mixin.js
stylus-source-0.40.3 vendor/node_modules/mocha/node_modules/jade/lib/nodes/mixin.js
stylus-source-0.40.2 vendor/node_modules/mocha/node_modules/jade/lib/nodes/mixin.js
stylus-source-0.40.1 vendor/node_modules/mocha/node_modules/jade/lib/nodes/mixin.js
stylus-source-0.40.0 vendor/node_modules/mocha/node_modules/jade/lib/nodes/mixin.js
stylus-source-0.39.4 vendor/node_modules/mocha/node_modules/jade/lib/nodes/mixin.js
stylus-source-0.39.3 vendor/node_modules/mocha/node_modules/jade/lib/nodes/mixin.js
stylus-source-0.39.2 vendor/node_modules/mocha/node_modules/jade/lib/nodes/mixin.js
stylus-source-0.39.1 vendor/node_modules/mocha/node_modules/jade/lib/nodes/mixin.js
stylus-source-0.39.0 vendor/node_modules/mocha/node_modules/jade/lib/nodes/mixin.js
stylus-source-0.38.0 vendor/node_modules/mocha/node_modules/jade/lib/nodes/mixin.js
stylus-source-0.37.0 vendor/node_modules/mocha/node_modules/jade/lib/nodes/mixin.js