Class GLOBALS
Object
|
+--GLOBALS
- class
GLOBALS
Method Summary |
<static> void
|
AnimeSetOpacity(<Object> obj, <float> value)
Setting the opacity is becoming more complicated (IE8 changed how alpha is handled
and still does not support the opacity attribute defined in CSS3).
|
<static> void
|
BlueScreen(<String> msg)
Displays a blue screen inspired to Windows well known blue screen.
|
<static> void
|
RegisterScript(<String> name, <int> version, <string> description)
This function should be called by scripts to register their loading.
|
<static> void
|
Require(<Array> scripts)
This function is meant to check dependencies among a number of JavaScript
source files that share this dependency convention.
|
AnimeSetOpacity
<static> void AnimeSetOpacity(<Object> obj, <float> value)
Setting the opacity is becoming more complicated (IE8 changed how alpha is handled
and still does not support the opacity attribute defined in CSS3). This function
is meant to hide these differences. Note that you must provide not the style object
but the whole object
Parameters:
obj
- Node to which the opacity should be applied
value
- Opacity value expressed in 0-1 interval as CSS3 standard requires.
BlueScreen
<static> void BlueScreen(<String> msg)
Displays a blue screen inspired to Windows well known blue screen. The modal
popup is closed when you click on it.
Parameters:
msg
- Message to display (preceded by 'INTERNAL ERROR: ')
RegisterScript
<static> void RegisterScript(<String> name, <int> version, <string> description)
This function should be called by scripts to register their loading.
Parameters:
name
- Name of the script
version
- Version of the script, should be an increasing integer number
description
- Brief description used for display purpose
Require
<static> void Require(<Array> scripts)
This function is meant to check dependencies among a number of JavaScript
source files that share this dependency convention. If a dependency is violated
the script displays a blue screen informing which scripts are not available.
Parameters:
scripts
- The required scripts. Each element of the array can be either a string with the script name (registered using RegisterScript) or a pair { Name: '...', Version: 0 } if the least version number is specified.
Documentation generated by
JSDoc on Thu Apr 15 11:14:59 2010