Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
 addCSS, DOMUtility
 addCSSHover, DOMUtility
 Array
 ascendEvent
B
 BrowserUtility
C
 collect, Dictionary
 Constants
 constructor, Dictionary
D
 Date
 defer, DOMUtility
 Dictionary
 DOMUtility
E
 encode, Json
 encodeArray, Json
 encodeBoolean, Json
 encodeFunction, Json
 encodeNull, Json
 encodeNumber, Json
 encodeObject, Json
 encodeString, Json
 encodeUndefined, Json
 EventRunner.js
F
 fill, String
 findInUpstream, DOMUtility
 Functions
G
 get, Dictionary
 getAmericanTimeString, Date
 getKeys, Dictionary
 getMajorVersion, BrowserUtility
 getMonthName, Date
 getShortMonthName, Date
 getUTCAmericanTimeString, Date
 getUTCMonthName, Date
 getUTCShortMonthName, Date
I
 isActiveXComatible, BrowserUtility
 isDOMNode, DOMUtility
 isIE, BrowserUtility
 isIE7, BrowserUtility
 isMac, BrowserUtility
 isMozilla, BrowserUtility
 isNS4, BrowserUtility
 isNsPluginCompatible, BrowserUtility
 isNumeric, Number
 isOpera, BrowserUtility
 isSafari, BrowserUtility
 isUnix, BrowserUtility
 isWindows, BrowserUtility
J
 Json
M
 MAX_DEPTH
 MonthNameEN, Date
N
 Number
P
 padding, String
 perform
 PRIVATE_REGEX_TRIM, String
R
 receiveEvent
 REGEX_BS, Json
 REGEX_BSLASH, Json
 REGEX_CR, Json
 REGEX_DQUOTE, Json
 REGEX_FF, Json
 REGEX_FSLASH, Json
 REGEX_LF, Json
 REGEX_TAB, Json
 register
 remove, Dictionary
 removeAllChildren, DOMUtility
 removeCSS, DOMUtility
 removeCSSHover, DOMUtility
 reverse, String
S
 scope
 set, Dictionary
 Singleton
 Singleton.js
 String
T
 trim, String
V
 vacuum, Array
 Variables
W
 waitUntilImgLoaded, DOMUtility
 waitUntilVariable, DOMUtility
DOMUtility.addCSS = function (elm,
name,
regex)
Add css safely.
DOMUtility.addCSSHover = function (elm)
Shortcut for addCSS with css name “hover”
MIT-style license.
EventRunner.ascendEvent = function (ev,
elm,
counter)
if the given elm has event, will perform, otherwise ascend DOM tree recursively.
MIT-style license.
this.collect = function (keyList)
return an array contains all values inside this dictionary instance associated with the given keys.
Generates dictionary object.
MIT-style license.
DOMUtility.defer = function (targets,
func)
[FIX ME] not completely done yet.
Dictionary object that can accept any elemente as key.
MIT-style license.
Json.encode = function (obj)
Dispatcher method for every JSON serialization.
Json.encodeArray = function (obj)
Encode array into JSON String.
Json.encodeBoolean = function (obj)
Encode boolean into JSON String.
Json.encodeFunction = function (obj)
[FIX ME] Encode function into JSON String.
Json.encodeNull = function (obj)
Encode null into JSON String.
Json.encodeNumber = function (obj)
Encode number into JSON String.
Json.encodeObject = function (obj)
Encode object into JSON String.
Json.encodeString = function (obj)
Encode string into JSON String.
Json.encodeUndefined = function (obj)
Encode undefined into JSON String.
EventRunner is a utility object that will handle Event with jQuery.data().
String.fill = function (filler,
len)
Repeat chunk of sting.
DOMUtility.findInUpstream = function (dom,
obj)
Find a DOMNode on upstream side (parent side) by the given criteria.
this.get = function (key)
get a value associated by the given key ahead.
Date.getAmericanTimeString = function (obj)
[FIX ME] Utility method that makes typical American way of writing time.
this.getKeys = function (key)
return an array contains all keys inside this dictionary instance.
BrowserUtility.getMajorVersion = function ()
FIX ME Detect Browser
Date.getMonthName = function (obj,
arr,
length,
isUTC)
Utility methods that connects an instance of Date Object and an Array of Name of month in any language.
Date.getShortMonthName = function (obj,
arr)
Shortcut for getMonthName with requiring length as 3.
Date.getUTCAmericanTimeString = function (obj)
[FIX ME] Utility method that makes typical American way of writing time with UTC Time.
Date.getUTCMonthName = function (obj,
arr,
length)
Shortcut for getMonthName with requiring UTC time.
Date.getUTCShortMonthName = function (obj,
arr)
Shortcut for getMonthName with requiring length as 3 and UTC time.
BrowserUtility.isActiveXComatible = function ()
FIX ME Detect Browser
DOMUtility.isDOMNode = function (obj)
Detetect DOM Element or not.
BrowserUtility.isIE = function ()
Detect Internet Explorer [after version 4]
BrowserUtility.isIE7 = function ()
FIX ME Detect Browser
BrowserUtility.isMac = function ()
FIX ME Detect Browser
BrowserUtility.isMozilla = function ()
FIX ME Detect Browser
BrowserUtility.isNS4 = function ()
FIX ME Detect Browser
BrowserUtility.isNsPluginCompatible = function ()
FIX ME Detect Browser
Number.isNumeric = function (arg)
detect whether numeric value or not.
BrowserUtility.isOpera = function ()
FIX ME Detect Browser
BrowserUtility.isSafari = function ()
FIX ME Detect Browser
BrowserUtility.isUnix = function ()
FIX ME Detect Browser
BrowserUtility.isWindows = function ()
FIX ME Detect Browser
MIT-style license.
EventRunner.MAX_DEPTH
Maximum depth for ascending dom tree when the event performs.
(Array) Name in English for each month
MIT-style license.
String.padding = function (hay,
len,
filler,
dirc)
Align length of string.
EventRunner.perform = function (elm,
ev)
Thie will execute the method or return values which are associated with the given element and event.
Optimization for trim()
EventRunner.receiveEvent = function (ev)
If currentTarget is propery set (in Firefox and Safari), will execute the method right away, if not (in IE) will ascend DOMNode recursively.
For Regex optimization: BS means “backspace”
For Regex optimization: BSLASH means “backslash”
For Regex optimization: CR means “carrige return”
For Regex optimization: DQUOTE means “double quote”
For Regex optimization: FF means “form feed”, invisible character
For Regex optimization: FSLASH means “forwardslash”
For Regex optimization: LF means “linefeed”
For Regex optimization: TAB means “horizontal tab”
EventRunner.register = function (dom,
type,
func,
context)
Wrapping event dispatching into EventRunner framwork.
this.remove = function (key)
destructive get().
DOMUtility.removeAllChildren = function (parent)
Remove all child nodes.
DOMUtility.removeCSS = function (elm,
name,
regex)
[FIX ME] It there are multiple name added on the element, it should remove everything.
DOMUtility.removeCSSHover = function (elm)
Shortcut for removeCSS with css name “hover”
String.reverse = function (str)
Reverse the order of given string.
EventRunner.scope = function (target,
func)
will return fixed context for given function.
this.set = function (key,
value)
Set a key-value pair to a dictionary instance
var Singleton = function (str)
This function will transform any given function into singleton pattern
This function will transform any given function into singleton pattern
MIT-style license.
String.trim = function (str)
Trim empty characters on both side.
Array.prototype.vacuum = function ()
Clean up array non-destractively.
DOMUtility.waitUntilImgLoaded = function (elmImg,
callback)
Fires function after the given DOM Element img is ready.
DOMUtility.waitUntilVariable = function (word,
callback)
Fires function after the given name is ready on global scope.
Close