| Current Path : /home/kamilrogam/komp/2018/180513/git/simpleKanban/node_modules/jade/lib/nodes/ |
| Current File : /home/kamilrogam/komp/2018/180513/git/simpleKanban/node_modules/jade/lib/nodes/filter.js |
'use strict';
var Node = require('./node');
/**
* Initialize a `Filter` node with the given
* filter `name` and `block`.
*
* @param {String} name
* @param {Block|Node} block
* @api public
*/
var Filter = module.exports = function Filter(name, block, attrs) {
this.name = name;
this.block = block;
this.attrs = attrs;
};
// Inherit from `Node`.
Filter.prototype = Object.create(Node.prototype);
Filter.prototype.constructor = Filter;
Filter.prototype.type = 'Filter';