Sha256: 92d91937e8dd14dc07c0f25df4402401b189fa763411b885425825b72d953e1f

Contents?: true

Size: 534 Bytes

Versions: 9

Compression:

Stored size: 534 Bytes

Contents

//>>built
define("dojox/uuid/generateRandomUuid",["./_base"],function(){
dojox.uuid.generateRandomUuid=function(){
var _1=16;
function _2(){
var _3=Math.floor((Math.random()%1)*Math.pow(2,32));
var _4=_3.toString(_1);
while(_4.length<8){
_4="0"+_4;
}
return _4;
};
var _5="-";
var _6="4";
var _7="8";
var a=_2();
var b=_2();
b=b.substring(0,4)+_5+_6+b.substring(5,8);
var c=_2();
c=_7+c.substring(1,4)+_5+c.substring(4,8);
var d=_2();
var _8=a+_5+b+_5+c+d;
_8=_8.toLowerCase();
return _8;
};
return dojox.uuid.generateRandomUuid;
});

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
dojox-rails-0.14.0 vendor/assets/javascripts/dojox/uuid/generateRandomUuid.js
dojox-rails-0.13.0 vendor/assets/javascripts/dojox/uuid/generateRandomUuid.js
dojox-rails-0.12.0 vendor/assets/javascripts/dojox/uuid/generateRandomUuid.js
dojox-rails-0.11.0 vendor/assets/javascripts/uuid/generateRandomUuid.js
dojo-rails-0.9.4 vendor/assets/javascripts/dojox/uuid/generateRandomUuid.js
dojo-rails-0.9.3 vendor/assets/javascripts/dojox/uuid/generateRandomUuid.js
dojo-rails-0.9.2 vendor/assets/javascripts/dojox/uuid/generateRandomUuid.js
dojo-rails-0.9.1 vendor/assets/javascripts/dojox/uuid/generateRandomUuid.js
dojo-rails-0.9.0 vendor/assets/javascripts/dojox/uuid/generateRandomUuid.js