Whitebeam Template Reference Documentation

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

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
variantstring  Required. The module variant - defined by the build environment. The default is 'Whitebeam'.
majornumber  Required. The major version number for the module. eg if the version is 1.2.3, major will be '1'
minornumber  Required. The minor version number for the module. eg if the version is 1.2.3, major will be '2'
subnumber  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
					 

Whitebeam release 1.3.36
(loadtime : 65ms)