APIs

Show:

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

(
  • condition
  • message
)
Undefined deprecated static

Defined in /var/www/azaleahealth.com/branches/docs/source_repo/awa/resources/apps/js/awa/assert.js:6

Deprecated: If you checking for a programmatic error, throw new Error instead.

Parameters:

  • condition Boolean | Object

    Checked for truthiness

  • message String

    Error 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: