common/core.js
/**
    * Get an RFC4122-compliant globally unique identifier.
    */
Get an RFC4122-compliant globally unique identifier.
Get an RFC4122 - compliant globally unique identifier .
function guid() {
        var r = [8, 9, "a", "b"],
	        s = function () {
	            return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
	        };
        return s() + s() + "-" + s() + "-4" + s().substr(0, 3) + "-" + r[Math.floor(Math.random() * 4)] + s().substr(0, 3) + "-" + s() + s() + s();
    }
function guid ( ) { var r = [ 8 , 9 , "a" , "b" ] , s = function ( ) { return ( ( ( 1 + Math . random ( ) ) * 0x10000 ) | 0 ) . toString ( 16 ) . substring ( 1 ) ; } ; return s ( ) + s ( ) + "-" + s ( ) + "-4" + s ( ) . substr ( 0 , 3 ) + "-" + r [ Math . floor ( Math . random ( ) * 4 ) ] + s ( ) . substr ( 0 , 3 ) + "-" + s ( ) + s ( ) + s ( ) ; }
Get an RFC4122-compliant globally unique identifier.
Get an RFC4122 - compliant globally unique identifier .