A Twitch.tv viewer reward and games system.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
375 B

  1. 'use strict';
  2. var Node = require('./node');
  3. /**
  4. * Initialize a `Doctype` with the given `val`.
  5. *
  6. * @param {String} val
  7. * @api public
  8. */
  9. var Doctype = module.exports = function Doctype(val) {
  10. this.val = val;
  11. };
  12. // Inherit from `Node`.
  13. Doctype.prototype = Object.create(Node.prototype);
  14. Doctype.prototype.constructor = Doctype;
  15. Doctype.prototype.type = 'Doctype';