Util

App.searchV2. Util

Contains a variety of search related utility functions.

Constructor

new Util()

See:

Methods

(static) convertSpacesToUnderscore(text)

Replaces spaces with underscore in input string

Parameters:
Name Type Description
text string

(static) handleError(error)

Parameters:
Name Type Description
error

(static) htmlToElement(html) → {Node}

Parameters:
Name Type Description
html
Returns:
Type
Node

(static) removeChildren(node)

Parameters:
Name Type Description
node

(static) removeNode(node)

Parameters:
Name Type Description
node