mixin-block.js 376 B

123456789101112131415161718
  1. 'use strict';
  2. var Node = require('./node');
  3. /**
  4. * Initialize a new `Block` with an optional `node`.
  5. *
  6. * @param {Node} node
  7. * @api public
  8. */
  9. var MixinBlock = module.exports = function MixinBlock(){};
  10. // Inherit from `Node`.
  11. MixinBlock.prototype = Object.create(Node.prototype);
  12. MixinBlock.prototype.constructor = MixinBlock;
  13. MixinBlock.prototype.type = 'MixinBlock';