Skip to content

0.1.0 proto Doctype

Ivan S Glazunov edited this page Jan 22, 2015 · 1 revision

[new] ([selector], [attributes]) => instance: Doctype > Single > Tag > Contents > Prototype

Methodology unique to doctypes.

Implementations of Doctype here: doctype.

Example

Doctype('[html]').render(function(result) {
	console.log(result);
});
<!DOCTYPE html>

._name

string = 'DOCTYPE'

._quotesLeft

string = '<!'

._quotesRight

string = '>'

Clone this wiki locally