HTML

module:HTML

Source:

Expose HTML.

Members

module:HTML

Source:

Expose HTML.

(inner) Base

Source:

Module dependencies.

(inner) statsTemplate

Source:

Stats template.

Methods

(inner) error(msg)

Source:

Display error msg.

Parameters:
NameTypeDescription
msgstring

(inner) fragment(html)

Source:

Return a DOM fragment from html.

Parameters:
NameTypeDescription
htmlstring

(inner) hideSuitesWithout(classname)

Source:

Check for suites that do not have elements
with classname, and hide them.

Parameters:
NameTypeDescription
classnametext

(inner) makeUrl(s) → {string}

Source:

Makes a URL, preserving querystring ("search") parameters.

Parameters:
NameTypeDescription
sstring
Returns:

A new URL.

Type
string

(inner) on()

Source:

Listen on event with callback fn.

(inner) text(el, contents)

Source:

Set an element's text contents.

Parameters:
NameTypeDescription
elHTMLElement
contentsstring

(inner) unhide()

Source:

Unhide .hidden suites.