19 lines
376 B
JavaScript
19 lines
376 B
JavaScript
|
'use strict';
|
||
|
|
||
|
var Node = require('./node');
|
||
|
|
||
|
/**
|
||
|
* Initialize a new `Block` with an optional `node`.
|
||
|
*
|
||
|
* @param {Node} node
|
||
|
* @api public
|
||
|
*/
|
||
|
|
||
|
var MixinBlock = module.exports = function MixinBlock(){};
|
||
|
|
||
|
// Inherit from `Node`.
|
||
|
MixinBlock.prototype = Object.create(Node.prototype);
|
||
|
MixinBlock.prototype.constructor = MixinBlock;
|
||
|
|
||
|
MixinBlock.prototype.type = 'MixinBlock';
|