Class: Wraith
Defined in: | src/wraith.coffee |
Overview
Global Wraith Object Contains a list of Collections, Models, and Controllers
Constant Summary
-
DEBUG
=
Essentially allow logging or not
-
false
-
UIEVENTS
=
List of acceptable UIEVENTS
-
['click', 'dblclick', 'mousedown', 'mouseup', 'mousemove', 'scroll', 'keypress', 'keyup', 'keydown', 'change', 'blur', 'focus', 'submit']
Class Method Summary
- + (void) log(args...) Logs to the console if DEBUG is set to true
- + (void) isFunction(obj) Checks to see if a given object is a funciton.
- + (void) uniqueId(length = 16, prefix = "") Generates a UID at the desired length
Class Method Details
+ (void) log(args...)
Logs to the console if DEBUG is set to true
+ (void) isFunction(obj)
Checks to see if a given object is a funciton.
+ (void) uniqueId(length = 16, prefix = "")
Generates a UID at the desired length