Namespace baja.browser
Defined in: browser.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
This namespace is for documentation purposes only and will not actually
be available to Bajascript apps.
|
| Method Attributes | Method Name and Description |
|---|---|
| <private> <static> |
baja.browser.clearOut()
In a browser,
baja.clearOut will look for a
<pre> element with ID bajaScriptOut and
wipe all text from it. |
| <private> <static> |
baja.browser.error()
In a browser,
baja.error will (in addition to calling
baja.outln) look for window.console.error and,
if it exists, pass the error message to it. |
| <private> <static> |
baja.browser.outln()
In a browser,
baja.outln will (in addition to calling
bajaJsPrint()) look for a <pre> element
with ID bajaScriptOut and append the message to that
element as well. |
Namespace Detail
baja.browser
This namespace is for documentation purposes only and will not actually
be available to Bajascript apps. It details enhancements/decorations
applied to functions in
baja when Bajascript is deployed
to a web browser environment.
Method Detail
<private> <static>
baja.browser.clearOut()
In a browser,
baja.clearOut will look for a
<pre> element with ID bajaScriptOut and
wipe all text from it.
<private> <static>
baja.browser.error()
In a browser,
baja.error will (in addition to calling
baja.outln) look for window.console.error and,
if it exists, pass the error message to it.
<private> <static>
baja.browser.outln()
In a browser,
baja.outln will (in addition to calling
bajaJsPrint()) look for a <pre> element
with ID bajaScriptOut and append the message to that
element as well.