mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 18:52:50 +00:00
Added all files
This commit is contained in:
26
node_modules/jade/lib/nodes/each.js
generated
vendored
Normal file
26
node_modules/jade/lib/nodes/each.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
'use strict';
|
||||
|
||||
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 = Object.create(Node.prototype);
|
||||
Each.prototype.constructor = Each;
|
||||
|
||||
Each.prototype.type = 'Each';
|
||||
Reference in New Issue
Block a user