1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-01-03 10:31:54 +01:00

Added names to random supply objects.

This commit is contained in:
kkapsner 2017-08-08 08:29:42 +02:00
parent 48464e49b8
commit f853071d19

View File

@ -50,6 +50,7 @@
} }
}()); }());
scope.persistent = { scope.persistent = {
name: "persistent",
getRng: function(length, window){ getRng: function(length, window){
var bitSet = getPersistentRnd(window); var bitSet = getPersistentRnd(window);
@ -88,6 +89,7 @@
}; };
scope.constant = { scope.constant = {
name: "constant",
getRng: function(length, window){ getRng: function(length, window){
return scope.nonPersistent.getRng(length, window); return scope.nonPersistent.getRng(length, window);
}, },
@ -118,6 +120,7 @@
}; };
scope.nonPersistent = { scope.nonPersistent = {
name: "nonPersistent",
getRng: function(length, window){ getRng: function(length, window){
// Initialize the random number batch creation // Initialize the random number batch creation
var randomI = 65536; var randomI = 65536;