src/javascript/core/utils/Env.js
function (uastring) {

	        var ua = uastring || ((window && window.navigator && window.navigator.userAgent) ? window.navigator.userAgent : EMPTY);

	        this.getBrowser = function () {
	            return mapper.rgx.apply(this, regexes.browser);
	        };
	        this.getEngine = function () {
	            return mapper.rgx.apply(this, regexes.engine);
	        };
	        this.getOS = function () {
	            return mapper.rgx.apply(this, regexes.os);
	        };
	        this.getResult = function() {
	            return {
	                ua      : this.getUA(),
	                browser : this.getBrowser(),
	                engine  : this.getEngine(),
	                os      : this.getOS()
	            };
	        };
	        this.getUA = function () {
	            return ua;
	        };
	        this.setUA = function (uastring) {
	            ua = uastring;
	            return this;
	        };
	        this.setUA(ua);
	    }
function (uastring) {

	        var ua = uastring || ((window && window.navigator && window.navigator.userAgent) ? window.navigator.userAgent : EMPTY);

	        this.getBrowser = function () {
	            return mapper.rgx.apply(this, regexes.browser);
	        };
	        this.getEngine = function () {
	            return mapper.rgx.apply(this, regexes.engine);
	        };
	        this.getOS = function () {
	            return mapper.rgx.apply(this, regexes.os);
	        };
	        this.getResult = function() {
	            return {
	                ua      : this.getUA(),
	                browser : this.getBrowser(),
	                engine  : this.getEngine(),
	                os      : this.getOS()
	            };
	        };
	        this.getUA = function () {
	            return ua;
	        };
	        this.setUA = function (uastring) {
	            ua = uastring;
	            return this;
	        };
	        this.setUA(ua);
	    }
function ( uastring ) { var ua = uastring || ( ( window && window . navigator && window . navigator . userAgent ) ? window . navigator . userAgent : EMPTY ) ; this . getBrowser = function ( ) { return mapper . rgx . apply ( this , regexes . browser ) ; } ; this . getEngine = function ( ) { return mapper . rgx . apply ( this , regexes . engine ) ; } ; this . getOS = function ( ) { return mapper . rgx . apply ( this , regexes . os ) ; } ; this . getResult = function ( ) { return { ua : this . getUA ( ) , browser : this . getBrowser ( ) , engine : this . getEngine ( ) , os : this . getOS ( ) } ; } ; this . getUA = function ( ) { return ua ; } ; this . setUA = function ( uastring ) { ua = uastring ; return this ; } ; this . setUA ( ua ) ; }
/////////////// Constructor //////////////
/////////////// Constructor //////////////