Namespace SpiderGL
The SpiderGL namespace.
- Defined in: namespace.js
Constructor Attributes | Constructor Name and Description |
---|---|
The SpiderGL namespace.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
SpiderGL.TAG
Utility tag for any use.
|
Method Summary
Method Attributes | Method Name and Description |
---|---|
<static> |
SpiderGL.openNamespace(options)
Publishes SpiderGL modules content to a global object.
|
Namespace Detail
SpiderGL
The SpiderGL namespace.
Field Detail
<static>
{any}
SpiderGL.TAG
Utility tag for any use.
Method Detail
-
<static> SpiderGL.openNamespace(options)Publishes SpiderGL modules content to a global object. The effect is to pollute the global object with the SpiderGL symbols. At the same time, it allows a faster and less verbose code.
- Parameters:
- {object} options Optional
- Symbols publishing options.
- {object} options.globalObject Optional, Default: SpiderGL.openNamespace.DEFAULT_GLOBAL_OBJECT
- The global object to which inject SpiderGL symbols.
- {string} options.constantPrefix Optional, Default: SpiderGL.openNamespace.DEFAULT_CONSTANT_PREFIX
- String prefix for constants.
- {string} options.functionPrefix Optional, Default: SpiderGL.openNamespace.DEFAULT_FUNCTION_PREFIX
- String prefix for functions. The first letter of the function identifier will be made capital.
- {string} options.classPrefix Optional, Default: SpiderGL.openNamespace.DEFAULT_CLASS_PREFIX
- String prefix for classes and sub-modules.