awa.debug Class
Defined in:
Module: awa
/var/www/azaleahealth.com/branches/docs/source_repo/awa/resources/apps/js/awa/debug.js:6
Our compiler doesn't like console which can cause major issues in production. please use awa.debug. It's a reassignment of console to get around this issue and will pass to empty functions in production.
Item Index
Methods
- awa.assert static deprecated
- deprecate
- deprecate
- error
- getCustomerName
- getStackTrace
- warn
Methods
awa.assert
(
Undefined
deprecated
static
-
condition -
message
Parameters:
-
conditionBoolean | ObjectChecked for truthiness
-
messageStringError to popup
Returns:
Undefined:
deprecate
()
Undefined
Outputs message to console in dev mode
Returns:
Undefined:
deprecate
()
Undefined
Indicates action is deprecated
Returns:
Undefined:
error
()
Undefined
Throws error in console
Returns:
Undefined:
getCustomerName
()
String
"Customer" in this case can by the ambulatory customer, ambulatory client, hspi name, etc It is intended to represent the organization that is using the azalea service.
Returns:
String:
Customer name
getStackTrace
()
Array
Outputs message to console in dev mode
Returns:
Array:
Error Stack
warn
()
Undefined
Outputs console warning
Returns:
Undefined: