Namespace atropa.wtf
Version
20120909.
Container for all Glorious WTFifier related functions and such.
Defined in: <node_modules/atropa-wtf/src/atropa-wtf.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Container for all Glorious WTFifier related functions and such.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
atropa.wtf.dictionary
The Glorious WTFification Dictionary: Turning Shit
Into Polished Turds.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
atropa.wtf.htmlElement(elementReference)
WTFifies the
textContent or value of the
given element and replaces the element's innerHTML with a pre block
containing the results of WTFification. |
<static> |
atropa.wtf.wtfify(target, outputHTML)
Accepts plain text input and Gloriously WTFifies it.
|
Namespace Detail
atropa.wtf
Container for all Glorious WTFifier related functions and such.
Author: Matthew Christopher Kastor-Inare III
☭ Hial Atropa!! ☭.
Author: Matthew Christopher Kastor-Inare III
☭ Hial Atropa!! ☭.
- Requires:
- atropa.regex
- atropa.wtf.dictionary
Field Detail
<static>
atropa.wtf.dictionary
The Glorious WTFification Dictionary: Turning Shit
Into Polished Turds.
Author: Matthew Christopher Kastor-Inare III
☭ Hial Atropa!! ☭.
Author: Matthew Christopher Kastor-Inare III
☭ Hial Atropa!! ☭.
Method Detail
<static>
{HTMLElement}
atropa.wtf.htmlElement(elementReference)
WTFifies the
textContent
or value
of the
given element and replaces the element's innerHTML with a pre block
containing the results of WTFification.
- Parameters:
- {HTMLElement} elementReference
- A reference to an HTML Element.
- Returns:
- {HTMLElement} Returns the given element after wtfification.
<static>
{String}
atropa.wtf.wtfify(target, outputHTML)
Accepts plain text input and Gloriously WTFifies it.
Author: Matthew Christopher Kastor-Inare III
☭ Hial Atropa!! ☭.
Author: Matthew Christopher Kastor-Inare III
☭ Hial Atropa!! ☭.
- Parameters:
- {String} target
- The text to WTFify.
- {Boolean} outputHTML
- Specifies if you want the output in HTML format. If false, will output plain text. Defaults to false.
- Returns:
- {String} Returns Genuine WTFified text.