|
Whitebeam Template Reference Documentation
|
rb.page.env.versionData
Whitebeam module version information.
Elements
The rb.page.env.versionData struct has 4 elements:
Name | Type/Value | Range/Length | Description | variant | string | | Required. The module variant - defined by the build environment. The default is 'Whitebeam'. | major | number | | Required. The major version number for the module. eg if the version is 1.2.3, major will be '1' | minor | number | | Required. The minor version number for the module. eg if the version is 1.2.3, major will be '2' | sub | number | | Required. The revision, or sub version number. eg if the version is 1.2.3, major will be '3' |
Remarks
Structure returned from rb.page.env.ModuleSW to describe the current Whitebeam environment. As well
the properties listed above the object supports the 'toString' method, which returns a textual description
of the Whitebeam version. For example - with version 0.9.19 of Whitebeam the object contains the following values:
obj.variant = 'Whitebeam'
obj.major = 0
obj.minor = 9
obj.sub = 19
obj.toString() = Whitebeam 0.9.29
|
|
(loadtime : 140ms) |