UNPKG

427 BJavaScriptView Raw
1
2/*!
3 * Jade - nodes - Doctype
4 * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca>
5 * MIT Licensed
6 */
7
8/**
9 * Module dependencies.
10 */
11
12var Node = require('./node');
13
14/**
15 * Initialize a `Doctype` with the given `val`.
16 *
17 * @param {String} val
18 * @api public
19 */
20
21var Doctype = module.exports = function Doctype(val) {
22 this.val = val;
23};
24
25/**
26 * Inherit from `Node`.
27 */
28
29Doctype.prototype.__proto__ = Node.prototype;
\No newline at end of file