HTML

module:HTML

Source:

Expose HTML.

Members

module:HTML

Source:

Expose HTML.

(inner) Base

Source:

Module dependencies.

(inner) Date

Source:

Save timer references to avoid Sinon interfering (see GH-237).

(inner) statsTemplate

Source:

Stats template: Result, progress, passes, failures, and duration.

Methods

(inner) error(msg)

Source:

Display error msg.

Parameters:
Name Type Description
msg string

(inner) fragment(html)

Source:

Return a DOM fragment from html.

Parameters:
Name Type Description
html string

(inner) hideSuitesWithout(classname)

Source:

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

Parameters:
Name Type Description
classname text

(inner) makeUrl(s) → {string}

Source:

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

Parameters:
Name Type Description
s string
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:
Name Type Description
el HTMLElement
contents string

(inner) unhide()

Source:

Unhide .hidden suites.