Class: HtmlSpecFilter

HtmlSpecFilter(options)

Legacy HTML spec filter, for backward compatibility with boot files that predate HtmlExactSpecFilter.

Constructor

new HtmlSpecFilter(options)

Parameters:
Name Type Description
options

Object with a filterString method

Since:
  • 1.2.0
Deprecated:
  • Yes

Methods

matches(specName) → {boolean}

Determines whether the spec with the specified name should be executed.

Parameters:
Name Type Description
specName string

The full name of the spec

Returns:
Type
boolean