Project

General

Profile

Statistics
| Revision:

root / trunk / web / dojo / dojox / math / random / Simple.js

History | View | Annotate | Download (515 Bytes)

1 9 andrej.cim
/*
2
        Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
3
        Available via Academic Free License >= 2.1 OR the modified BSD license.
4
        see: http://dojotoolkit.org/license for details
5
*/
6
7
8
if(!dojo._hasResource["dojox.math.random.Simple"]){
9
dojo._hasResource["dojox.math.random.Simple"]=true;
10
dojo.provide("dojox.math.random.Simple");
11
dojo.declare("dojox.math.random.Simple",null,{destroy:function(){
12
},nextBytes:function(_1){
13
for(var i=0,l=_1.length;i<l;++i){
14
_1[i]=Math.floor(256*Math.random());
15
}
16
}});
17
}