Sha256: 32c75af9c4d3677d75a27ebc39126f4bec9981969751b5e8ba902e0778d3f2bf

Contents?: true

Size: 564 Bytes

Versions: 43

Compression:

Stored size: 564 Bytes

Contents

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

/**
 * Module dependencies.
 */

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

/**
 * Initialize an `Each` node, representing iteration
 *
 * @param {String} obj
 * @param {String} val
 * @param {String} key
 * @param {Block} block
 * @api public
 */

var Each = module.exports = function Each(obj, val, key, block) {
  this.obj = obj;
  this.val = val;
  this.key = key;
  this.block = block;
};

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

Each.prototype.__proto__ = Node.prototype;

Version data entries

43 entries across 43 versions & 2 rubygems

Version Path
stylus-source-0.36.1 vendor/node_modules/mocha/node_modules/jade/lib/nodes/each.js
stylus-source-0.36.0 vendor/node_modules/mocha/node_modules/jade/lib/nodes/each.js
stylus-source-0.35.1 vendor/node_modules/mocha/node_modules/jade/lib/nodes/each.js
stylus-source-0.35.0 vendor/node_modules/mocha/node_modules/jade/lib/nodes/each.js
stylus-source-0.34.1 vendor/node_modules/mocha/node_modules/jade/lib/nodes/each.js
stylus-source-0.34.0 vendor/node_modules/mocha/node_modules/jade/lib/nodes/each.js
stylus-source-0.33.1 vendor/node_modules/mocha/node_modules/jade/lib/nodes/each.js
stylus-source-0.33.0 vendor/node_modules/mocha/node_modules/jade/lib/nodes/each.js
stylus-source-0.32.1 vendor/node_modules/mocha/node_modules/jade/lib/nodes/each.js
stylus-source-0.32.0 vendor/node_modules/mocha/node_modules/jade/lib/nodes/each.js
stylus-source-0.31.0 vendor/node_modules/mocha/node_modules/jade/lib/nodes/each.js
stylus-source-0.30.1 vendor/node_modules/mocha/node_modules/jade/lib/nodes/each.js
stylus-source-0.30.0 vendor/node_modules/mocha/node_modules/jade/lib/nodes/each.js
stylus-source-0.29.0 vendor/node_modules/mocha/node_modules/jade/lib/nodes/each.js
stylus-source-0.28.2 vendor/node_modules/mocha/node_modules/jade/lib/nodes/each.js
stylus-source-0.28.1 vendor/node_modules/mocha/node_modules/jade/lib/nodes/each.js
stylus-source-0.28.0 vendor/node_modules/mocha/node_modules/jade/lib/nodes/each.js
stylus-source-0.27.2 vendor/node_modules/mocha/node_modules/jade/lib/nodes/each.js
stylus-source-0.27.1 vendor/node_modules/mocha/node_modules/jade/lib/nodes/each.js
stylus-source-0.27.0 vendor/node_modules/mocha/node_modules/jade/lib/nodes/each.js