Class: ExampleUtilityTwo

exampleUtilityTwo. ExampleUtilityTwo

An object that knows how to interpret the hostname of the current site.

We serve our website on multiple domains, and sometimes we do things differently based on which domain.


new ExampleUtilityTwo(bestThing)

Store and recognize the best thing

Parameters:
Name Type Description
bestThing string

The best thing

Source:

Members


bestThing :string

The best of the things

This class may not recognize this best thing, but it will.

Type:
  • string
Source:

Methods


isKnownThing(thing)

Whether a thing is recognized

Parameters:
Name Type Description
thing string

A thing that may be recognized

Source:
Returns:
Type
boolean